PK39608: A JAVA.LANG.NUMBERFORMATEXCEPTION MAY BE SEEN IF A DATASOURCE ISCREATED IN A V6.1/V6.0.2 MIXED NODE ENVIRONMENT.

 Fixes are available

6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for AIX platforms
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for HP-UX platforms
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for OS/400 platform
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Solaris
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Windows platforms
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for AIX platforms
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for HP-UX platforms
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for HP-UX platforms
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for AIX platforms
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for AIX platforms
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for HP-UX platforms
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Linux platforms
V6.0.2: Java SDK 1.4.2 SR11 Cumulative Fix for IBM WebSphere Application Server
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Solaris
6.0.2.29: WebSphere Application Server V6.0.2 Fix Pack 29 for Windows platforms
6.0.2.27: WebSphere Application Server V6.0.2 Fix Pack 27 for Linux platforms
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Linux platforms
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Solaris
6.0.2.25: WebSphere Application Server V6.0.2 Fix Pack 25 for Windows platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for HP-UX platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Linux platforms
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Windows platforms
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Solaris
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for OS/400 platform
6.0.2.23: WebSphere Application Server V6.0.2 Fix Pack 23 for Linux platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for AIX platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Windows platforms
6.0.2.21: WebSphere Application Server V6.0.2 Fix Pack 21 for Solaris platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for AIX platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for HP-UX platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for OS/400 platform
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Linux platforms
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Solaris
6.0.2.31: WebSphere Application Server V6.0.2 Fix Pack 31 for Windows platforms
V6.0.2: Java SDK 1.4.2 SR11 Cumulative Fix for IBM WebSphere Application Server



APAR status
Closed as program error.

Error description
The following exception was seen when a datasource was
instantiated in a V6.1/V6.0.2 mixed node environment.
.
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString
(NumberFormatException.java:63)
at java.lang.Integer.parseInt(Integer.java(Compiled Code))
at java.lang.Integer.<init>(Integer.java:633)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.<init>
(WSRdbDataSource.java:540)
.
.
This exception occurs during instantiation of a DataSource if
either of the following Data Source Custom Properties are
defined but have a value set to "" (the empty string):
.
connRetriesDuringDBFailover
connRetryIntervalDuringDBFailover
.
From the administrative console these custom properties are set
by browsing to Resources --> JDBC Providers --> <YOUR_PROVIDER>
--> Data Sources --> <YOUR_DATASOURCE> --> Custom Properties
.
This apar will resolve this issue.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V6.0.1 for z/OS                              *
****************************************************************
* PROBLEM DESCRIPTION: The following exception occurs during   *
*                      instantiation of a DataSource if        *
*                      either of the following Data Source     *
*                      Custom Properties is defined but has    *
*                      a value set to "" (the empty string):   *
*                                                              *
*                      connRetriesDuringDBFailover             *
*                      connRetryIntervalDuringDBFailover       *
*                                                              *
*                      java.lang.NumberFormatException: For    *
*                      input string: ""                        *
*                              at                              *
*                      java.lang.NumberFormatException.        *
*                      forInputString(NumberFormatException    *
*                      .java)                                  *
*                              at java.lang.Integer.parseInt   *
*                      (Integer.java(Compiled Code))           *
*                              at java.lang.Integer.<init>     *
*                      (Integer.java:633)                      *
*                              at                              *
*                      com.ibm.ws.rsadapter.spi.               *
*                      WSRdbDataSource.<init>                  *
*                      (WSRdbDataSource.java)                  *
*                               at                             *
*                      com.ibm.ws.rsadapter.spi.               *
*                      WSManagedConne                          *
*                      ctionFactoryImpl.                       *
*                      setDataSourceProperties                 *
*                      (WSManagedConnectionFactoryImpl.java)   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
When instantiating a datasource and validating the
connRetriesDuringDBFailover and
connRetryIntervalDuringDBFailover
custom properties, value is not checked for "" before attempting
to convert the value to an integer.
Problem conclusion
When instantiating datasource custom properties
connRetriesDuringDBFailover and
connRetryIntervalDuringDBFailover, value "" is checked for
before attempting to convert the value to an integer.

APAR PK39608 is currently targeted for inclusion in Service
Level (Fix Pack) 6.0.2.21 of WebSphere Application Server V6.0.1
for z/OS.
Temporary fix Comments
APAR information
APAR number PK39608
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 601
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2007-02-19
Closed date 2007-07-03
Last modified date 2007-08-03

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 WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSN    UP
R601 PSY UK27100    UP07/07/25 P F707

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


Document Information


Current web document: swg1PK39608.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 601
Software edition:
Reference #: PK39608
IBM Group: Software Group
Modified date: Aug 3, 2007