PK39608: A JAVA.LANG.NUMBERFORMATEXCEPTION MAY BE SEEN IF A DATASOURCE ISCREATED IN A V6.1/V6.0.2 MIXED NODE ENVIRONMENT. | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
![]() 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.