PQ72349: NEED MODIFICATION ON CONNECTION MANAGER CODE TO PREVENT THROWINGNULLPOINTEREXCEPTION. | |||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Need modify the Connection Manager code to detect the null value for the AdminService and not throw the NullPointerException. The DataSource will then be returned and be functional, although some of the runtime administrative services provide by the MBean, such as PMI data, etc. will not be available when this DataSource is running in the client process.Local fix N/AProblem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server 5.0 users * * accessing WebSphere 4.0 style datasources * * from a Java client. * **************************************************************** * PROBLEM DESCRIPTION: When attempting to access a WebSphere * * 4.0 style datasource from an * * application client, a * * NullPointerException is thrown. * **************************************************************** * RECOMMENDATION: * **************************************************************** Part of the process of creating a datasource object involves registering an MBean to provide runtime configuration and performance monitoring services. When a datasource is accessed from an application client, a new instance of that datasource is created in the client process. This process does not have the MBean server available, which results in NullPointerExceptions when the the connection manager attempts to register the MBean.Problem conclusion Modified the connection manager code to handle the case where no MBean server is present. The functionality provided by the MBeans will not be available on this DataSource, but the DataSource will be functional, and able to process database requests.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
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ72349
IBM Group: Software Group
Modified date: Apr 11, 2003
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.