This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 and DB2 7.x.

I am using datasource to get database connection.

J2CA0036E: An exception occurred while invoking method setDataSourceProperties on used by resource
resource myDataSource : java.lang.reflect.InvocationTargetException null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)null at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at at at javax.naming.spi.NamingManager.getObjectInstance( at at at at at at at at at javax.naming.InitialContext.lookup( at ....
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic