PQ72349: NEED MODIFICATION ON CONNECTION MANAGER CODE TO PREVENT THROWINGNULLPOINTEREXCEPTION.

 Fixes are available

WebSphere Application Server Connection Manager Cumulative Fix
5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



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/A
Problem 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 information
APAR number PQ72349
Reported component name WAS OEM
Reported component ID 5630A3690
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-03-21
Closed date 2003-04-11
Last modified date 2003-04-11

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JDBC          

Publications Referenced

Fix information
Fixed component name WAS BASE 5.0
Fixed component ID 5630A3600

Applicable component levels
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


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