wood burning stoves 2.0*
The moose likes JDBC and the fly likes J2CA0036E setDataSourceProperties - WebSphere 5.x & DB2 7.x Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "J2CA0036E setDataSourceProperties - WebSphere 5.x & DB2 7.x" Watch "J2CA0036E setDataSourceProperties - WebSphere 5.x & DB2 7.x" New topic
Author

J2CA0036E setDataSourceProperties - WebSphere 5.x & DB2 7.x

Sam Gehouse
Ranch Hand

Joined: Jul 21, 2003
Posts: 281
I do see this exception infrequently. This exception may happen for the exact same record, which was inserted into database successfully before.

There is no pattern for this exception to occur. As I said, same record that had success before may throw this exception.

I am using WAS 5.1.1.3 and DB2 7.x.

I am using datasource to get database connection.

J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource
resource myDataSource : java.lang.reflect.InvocationTargetException null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)null at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)null at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)null at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)null at java.lang.reflect.Method.invoke(Method.java:391)null at com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourceFactory.java:375)null at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1420)null at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1208)null at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)null at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:873)null at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:680)null at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1712)null at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1567)null at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)null at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)null at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1067)null at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)null at javax.naming.InitialContext.lookup(InitialContext.java:361)null at ....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2CA0036E setDataSourceProperties - WebSphere 5.x & DB2 7.x
 
Similar Threads
WSAD error while running Hibernate
Datasource lookup fails after 2 successive send to queue - WAS 5.x, DB2 7.x
Hibernate error on using it with WSAD
Configuring a DataSource on WebSphere 5.1.0
Datasource lookup fails after 2 successive send to queue - WAS 5.x, DB2 7.x