APAR status
Closed as program error.
Error description
When running Performance Advisor, customer sees in the
SystemErr.log and SystemOut.log:
java.lang.NumberFormatException: 0,1
at
java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.j
ava(Comp
iled Code))
at java.lang.Double.parseDouble(Double.java:198)
at
com.ibm.ws.performance.tuning.rule.AbstractRule.format(AbstractR
ule.java
:120)
at
com.ibm.ws.performance.tuning.rule.LiveSessionStateless.runRule(
LiveSess
ionStateless.java:263)
.
.
.
.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere 5.0.2 and 5.1 Advisor users *
****************************************************************
* PROBLEM DESCRIPTION: NumberFormatExceptions when using *
* Advisors in regions that use a ',', *
* rather than a '.' for decimal *
* seperator *
****************************************************************
* RECOMMENDATION: *
****************************************************************
SYMPTOMS:
When the Runtime Performance Advisors is used
NumberFormatExceptions will be thrown and be present in the
SystemOut.log and SystemErr.log files
When the Tivoli Performance Advisor is used there will be no
visable exceptions (unless the -debug flag is used), but most
advice will be not present when requested.
REASON:
In regions other than the United States a ',' is sometimes used
as the decimal seperator rather than a '.'. For example two
and a
half might be represented as 2,5 rather than 2.5.
EXAMPLE:
java.lang.NumberFormatException: For input string: "2,2"
at java.lang.NumberFormatException.forInputString
(NumberFormatException.java:62)
at java.lang.FloatingDecimal.readJavaFormatString
(FloatingDecimal.java:1229)
at java.lang.Double.parseDouble(Double.java:216)
at com.ibm.ws.performance.tuning.TuningUtil.format
(TuningUtil.java:261)
Problem conclusion
There are two fixes. One for 5.0.2 and one for 5.1. There
are two fixes because the code base is slightly different.
In both fixes the format method sets the decimal seperator to
a '.' for all regions. This is so that the string returned
by the formating is a valid java double.
Temporary fix Comments
APAR information |
APAR number |
PQ80954 |
Reported component name |
WEBSPHERE AE SO |
Reported component ID |
5630A2202 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2003-11-14 |
Closed date |
2003-12-02 |
Last modified date |
2004-01-05 |
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 |
|