|
Problem |
The following exception was seen in the Application
servant for WebSphere when an application was run and tried to access DB2
through a datasource,
BBOO0220E J2CA0036E: An exception occurred while invoking method
setDataSourceProperties on
com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource
DB2 Development : java.lang.reflect.InvocationTargetException
.at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
.at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Co
.at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Co
.at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
.at
com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourceFactory.jav
.at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactor
.at
com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFac
.at
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)
.at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.j
.at
com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java
.at
com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.
.at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1567)
.at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)
.at
com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)
.at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1067)
.at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
.at javax.naming.InitialContext.lookup(InitialContext.java:361)
.
.
Caused by: com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException:
DSRA0023E: The DataSource implementation class
"com.{???}ConnectionPoolDataSource" could not be found.
.
.
.
Caused by: java.lang.ClassNotFoundException:
com.{???}ConnectionPoolDataSource
|
|
Cause |
The application was referring to a datasource that was
different from the intended one that was to be used. The provider to which
the application datasource was referring to was a User Defined connection,
whereas the intended datasource needed for the application was a DB2 for
zOS Local JDBC Provider (RRS) provider. |
|
Solution |
Check application to make sure the correct datasource is
being used. |
|