APAR status
Closed as program error.
Error description
One servlet in a web application includes a servlet in
another web application, which in turn includes a JSP.
Now the second servlet does not call the JSP by its path
but defines a servlet for the JSP and uses
getNamedDispatcher to call the JSP. When we execute this
scenario, the JSP engine is looking up the the JSP with
the wrong path, and we get a java.io.FileNotFoundException
exception. The scenario fails only under these
circumstances; if it is called directly into the second
circumstances; if it is called directly into the second
servlet, the JSP include succeeds and if we include the
JSP by its path, it succeeds also.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0.1 and 5.0.2 *
* users of namedDispacther in their servlets *
* to include other servlets and JSPs. *
****************************************************************
* PROBLEM DESCRIPTION: A servlet that uses the *
* getNamedDispatcher method to call a JSP *
* results in a FileNotFoundException *
* being thrown. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
When one servlet in a web application includes a servlet in
another web application, which in turn includes a JSP. The
second servlet does not call the JSP by its path but defines a
servlet for the JSP and uses getNamedDispatcher method to call
the JSP. When this scenario is executed, the JSP engine is
looking up the JSP with the wrong path, and throws a
java.io.FileNotFoundException exception.
This problem is caused by the NamedDispatch which did not set
the path_info attribute of the included servlet.
Problem conclusion
To correct the problem, the NamedDispather code was modified to
set the path_info attribute for the included servlet.
Temporary fix
test driver posted to
pq99999 on 09/12/2003
Comments
APAR information |
APAR number |
PQ78382 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00A |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-09-11 |
Closed date |
2003-09-18 |
Last modified date |
2003-09-18 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|