APAR status |
Closed as program error.
| Error description
Customer receiving the following error message when trying
to access a servlet:
[01.02.12 11:05:28:451 CST] abb95a ServletInstan X Uncaught
service() exception thrown by servlet {0}: {1} "JSP 1.1
Processor"org.apache.jasper.JasperException: Bad file
argument to includeCustomer's JSP's fail with this error on
Solaris but compile and run fine on Win2K. There seems to be
an issue with static includes regarding the compiler for WAS
3.5.2 on Solaris. to access a servlet:[01.02.12 11:05:28:451 CST], abb95a ServletInstan X Uncaughtservice() exception thrown by servlet {0}: {1} "JSP 1.1Processor"org.apache.jasper.JasperException: Bad fileargument to includeCustomer's JSP's fail with this error onSolaris but compile and run fine on Win2K. There seems to bean issue with static includes regarding the compiler for WAS3.5.2 on Solaris. Local fixProblem summary
Following is the scenario: Unable to include JSP in another
JSP if they in the different sub directories.
Using three jsp files say jsp1.jsp,jsp2.jsp and jsp3.jsp .
Create two directories as follows;<app_serv>/hosts/default_host/admin/web/dir1<app_serv>/hosts/default_host/admin/web/dir2
Put jsp1.jsp directly in web directory, jsp2.jsp in dir1 and
jsp3.jsp in dir2.
.
The file jsp1.jsp includes jsp2.jsp by adding following tag:<%@include file="/dir1/jsp2.jsp" %>
.
Again the file jsp2.jsp includes jsp3.jsp by adding following
tag: The file jsp1.jsp includes jsp2.jsp by adding following tag:<%@include file="/dir1/jsp2.jsp" %>.Again the file jsp2.jsp includes jsp3.jsp by adding following <%@ include file="../dir2/jsp3.jsp" %>
.
Try to hit jsp1 on browser , it gives following error:tag:<%@ include file="../dir2/jsp3.jsp" %>.
.
Error 500
Root Error-1: "Cannot read file:Try to hit jsp1 on browser , it gives following error:.Error 500
E:\WebSphere\AppServer\hosts\default_host\admin\web\..
\dir2\jsp3.jsp"
.
But, if just using jsp1.jsp and jsp2.jsp i.e. not include
jsp3.jsp in jsp2.jsp then it works fine and shows the output.
Also if hitting <localhost>/admin/dir1/jsp2.jsp which in turn
is calling jsp3.jsp in dir2 , that works fine and shows all
the correct output. Root Error-1: "Cannot read file:E:\WebSphere\AppServer\hosts\default_host\admin\web\..\dir2\jsp3.jsp".But, if just using jsp1.jsp and jsp2.jsp i.e. not includejsp3.jsp in jsp2.jsp then it works fine and shows the output., Also if hitting/admin/dir1/jsp2.jsp which in turnis calling jsp3.jsp in dir2 , that works fine and shows allthe correct output. Problem conclusion
relative includes such as the described scenario. The file
changed: org/apache/jasper/compiler/JspReader.java Temporary fixComments
APAR information | APAR number | PQ46145 | Reported component name | WAS ADVANCED SU | Reported component ID | 5648C8402 | Reported release | 350 | Status | CLOSED PER | PE | NoPE | HIPER | NoHIPER | Submitted date | 2001-02-14 | Closed date | 2001-02-22 | Last modified date | 2001-02-22 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:APAR is sysrouted FROM one or more of the following:
Modules/Macros APAR is sysrouted TO one or more of the following:Modules/Macros
|
Fix information |
Fixed component name | WAS ADVANCED SU | Fixed component ID | 5648C8402 |
Applicable component levels | R350 PSY | UP |
|