APAR status
Closed as program error.
Error description
Customer sees java.lang.numberformat exceptions when enabling
security.
7/2/03 15:57:22:561 CDT] 59babf7a WebGroup E SRVE0026E:
[Servlet Error]-[*]: java.lang.NumberFormatException: *
at java.lang.Integer.parseInt(Integer.java(Compiled Code))
at java.lang.Integer.parseInt(Integer.java:472)
at
com.ibm.ws.security.web.WebCollaborator.getHTTPSPort(WebCollabor
ator.jav
a:1103)
The failiure reason is security expects that all ports are
Local fix
integers w ile scanning a list of ports to find https port. If
the desired port found before hitting *, no error encountered.
however, if hitting * before reaching the desired port, error
occurs. You can open an APAR, so I can modify security codes not
to affected by * port while reading the list of ports.
for example, in virtualhosts.xml, the following line was
configured:
<aliases xmi:id="HostAlias_6" hostname="*" port="*"/>
LOCAL FIX:ン
workaround:
remove following line " <aliases xmi:id="HostAlias_6"
hostname="*" port="*"/>: " from virtualhosts.xml
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application server 5.0 security *
* users. *
****************************************************************
* PROBLEM DESCRIPTION: Non-decimal port in resources.xml and *
* virtualhosts.xml cause *
* java.lang.NumberFormatException. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
If non-decimal port appears in resources.xml or
virtualhosts.xml, java.lang.numberformat exception may occur
after security enabled. In system.out, you will see the
following similar message:
WebGroup E SRVE0026E:
[Servlet Error]-[*]: java.lang.NumberFormatException: *
at java.lang.Integer.parseInt(Integer.java(Compiled Code))
at java.lang.Integer.parseInt(Integer.java:472)
at
com.ibm.ws.security.web.WebCollaborator.getHTTPSPort
(WebCollaborator.java)
a:1103)
Problem conclusion
As security does not expect non-decimal port number, any
non-decimal port should be just ignored, and continue to scan
decimal port rather than error out.
Temporary fix
Test fix has been available from APAR repository since August 18
.
Comments
APAR information |
APAR number |
PQ76369 |
Reported component name |
WAS HTTP SERVER |
Reported component ID |
5630A3603 |
Reported release |
00I |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-07-15 |
Closed date |
2003-10-15 |
Last modified date |
2003-10-15 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
|