APAR status
Closed as program error.
Error description
User is using Java Web Start to get a file from server. Server
is running Embedded Websphere Appserver Express v5.0. The server
is set to use SSL.JWS sends in a GET request to retrieve a fil
e. As part of the GET request, WebSphere does an HTTP HEAD requ
est. A Head request returns the headers of a get request but no
BODY was written. This causes the socket to close and get the f
ail even though the file was available. The fix was in to specia
l transport HEAD requests to recognize that 0 bytes of body woul
d be written. A work around solution is available from Ali Goins
Local fix
See Ali Goins of the HTTPL3 team.
Problem summary
****************************************************************
* USERS AFFECTED: Any user whose client sends a HEAD request *
* to a static file. *
****************************************************************
* PROBLEM DESCRIPTION: The following IllegalStateException *
* occurs in the log file: *
* 0 response bytes written, but *
* Content-Length header equals XXX *
****************************************************************
* RECOMMENDATION: *
****************************************************************
This is the result of a bug in the code. The exception is
thrown because 0 response bytes are written when the file has
a Content-Length, however this is working as designed since
no bytes are supposed to be written for a HEAD request.
Problem conclusion
Code changed to not throw the IllegalStateException when a
HEAD request is issued.
Temporary fix Comments
APAR information |
APAR number |
PQ78849 |
Reported component name |
WAS-EXPRESS WIN |
Reported component ID |
5724D06WN |
Reported release |
400 |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Submitted date |
2003-09-24 |
Closed date |
2003-11-05 |
Last modified date |
2003-11-05 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
SRLS
|
Fix information |
Fixed component name |
WEBPSHERE AE HP |
Fixed component ID |
5630A2203 |
Applicable component levels |
R400 PSY |
UP |
|