PQ52401: WAS 4.0 BUILD A131.07 W/ DB2 7.2.1 WITH FOLLOWING CODE DOES NOT ADD JNDI AND DATASOURCE NAME INTO DATASOURCE_TABLE IN WAS TABLE.

APAR status
Closed as returned (APAR cannot be resolved without additional info from IBM or customer.)

Error description
Using the following code with WAS 4.0 build a131.07 and DB2 7.2.
1 on all operating systems creates a datasource, but doesn't add
 the JNDI and datasource name into DATASOURCE_TABLE in WAS table
. The reference to the JNDI name is found in PRoPERTYBEANTBL. Th
en, when trying to add that datasource with that JNDI name in th
e adminclient, the
Exception: JNDI name jdbc/<your datasource> is already in use
com.ibm.ejs.sm.exception.RemoteOpException: JNDI name jdbc/<your
 datasource> is already in use                               ..
protected static Properties dataSourceProperties = null;
  static {
    dataSourceProperties = new Properties();
.
    dataSourceProperties.put("databaseName","pzndemo");
  }
.
java.util.Properties prop = new
java.util.Properties(dataSourceProperties);
         String dsName = /*throw in a datasource name here*/;
if
(dsName.startsWith(com.ibm.websphere.advanced.cm.factory.DataSou
rceFactory.DEFAULT_DATASOURCE_CONTEXT_NAME + "/"))
         {
              dsName =
dsName.substring(com.ibm.websphere.advanced.cm.factory.DataSourc
.DEFAULT_DATASOURCE_CONTEXT_NAME.length() + 1);
         }
         prop.put(DataSourceFactory.NAME, dsName);
         prop.put(DataSourceFactory.DATASOURCE_CLASS_NAME,getDri
.
         //Obtain a DataSource from the factory
         ds = DataSourceFactory.getDataSource(prop);
.
         //Bind the DataSource into JNDI
         DataSourceFactory.bindDataSource(ds);
         conn = ds.getConnection(userID, password);
Local fix Problem summary Problem conclusion Temporary fix Comments
This APAR is being returned for additional information.
APAR information
APAR number PQ52401
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED RET
PE NoPE
HIPER NoHIPER
Submitted date 2001-09-13
Closed date 2001-09-20
Last modified date 2001-09-20

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information

Applicable component levels


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ52401
IBM Group: Software Group
Modified date: Sep 20, 2001