PQ49167: JSP CAUSE NATIVE WRITE ERROR AND CLIENTCLOSEDCONNECTIONEXCEPTI ONS


APAR

APAR status
Closed as program error.

Error description
Native write error and Client CLosed Connection exceptions are
being generated by JSP's. This was not fixed by PQ43653 native
write error.
Local fix
Problem summary
If the client closes the connection to the server before the
entire response is sent then a ClientClosedConnectionException
will be raised on the next invocation of
write::SRTServletResponse.  This exception is uncatchable by
the JSP author if it occurs while writing static HTML content.
.
Auxiliary methods (_jspx_writeString) were added to write
static content and expressions.  These new methods, which are
included in the generated Java source, ignore IOExceptions.
This also has the side-effect of giving all scriptlets an
opportunity to execute even if the client has terminated its
connection to the server (unless a non-IOException is raised by
processing static content/an expression or a prior scriptlet
throws an uncaught exception).
Problem conclusion
This problem has been corrected by changes to the following:
org/apache/jasper/runtime/JspWriterImpl.java
org/apache/jasper/compiler/StoredCharDataGenerator.java
org/apache/jasper/compiler/JspParseEventListener.java
org/apache/jasper/compiler/ExpressionGenerator.java
com/sun/jsp/compiler/ExpressionGenerator.java
com/sun/jsp/compiler/Jsp1_0ParseEventListener.java
com/sun/jsp/compiler/StoredCharDataGenerator.java
com/sun/jsp/runtime/JspWriterImpl.java
org/apache/jasper/runtime/JspWriterImpl.java
This problem has been corrected by changes to the following:org/apache/jasper/runtime/JspWriterImpl.javaorg/apache/jasper/compiler/StoredCharDataGenerator.javaorg/apache/jasper/compiler/JspParseEventListener.javaorg/apache/jasper/compiler/ExpressionGenerator.javacom/sun/jsp/compiler/ExpressionGenerator.javacom/sun/jsp/compiler/Jsp1_0ParseEventListener.javacom/sun/jsp/compiler/StoredCharDataGenerator.javacom/sun/jsp/runtime/JspWriterImpl.javaorg/apache/jasper/runtime/JspWriterImpl.java
Temporary fix
pq49167_test.jar
Comments
APAR information
APAR numberPQ49167
Reported component nameWAS ADVANCED AI
Reported component ID5648C8400
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2001-05-29
Closed date2001-07-26
Last modified date2002-05-07

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
ENGINE
APAR is sysrouted TO one or more of the following:Modules/Macros

Fix information
Fixed component nameWAS ADVANCED AI
Fixed component ID5648C8400

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ49167
IBM Group: Software Group
Modified date: 2002-05-07