• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ResourceException with error code null

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All ,

I deployed my application on the WAS server and tried executing it at that time it throwed the following Exception.

java.sql.SQLException: DSRA9002E: ResourceException with error code null: javax.
resource.ResourceException: addSync: caught Exception
at com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapp
er.java:958)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.
java:776)
at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.j
ava:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManage
r.java:379)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:205)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:180)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:78)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:60)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:44)
at tla.calc.service.DbUtility.getCurrentDateTime(DbUtility.java:73)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:101)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:95)
at tla.calc.comp.inbound.ReformatSplitBatchMgrBean.invoke(ReformatSplitB
atchMgrBean.java:179)
at tla.calc.comp.inbound.EJSLocalStatelessReformatSplitBatchMgr_a2851d05
.invoke(EJSLocalStatelessReformatSplitBatchMgr_a2851d05.java:23)
at tla.calc.comp.CompBusinessDelegateBean.invoke(CompBusinessDelegateBea
n.java:21)
at tla.calc.comp.EJSLocalStatelessCompBusinessDelegate_9f47b613.invoke(E
JSLocalStatelessCompBusinessDelegate_9f47b613.java:23)
at tla.calc.service.RequestQueueMDBBean.onMessage(RequestQueueMDBBean.ja
va:61)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapp
er.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:194
)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:172)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1136)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:905)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(Se
rverSession.java:696)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:4
81)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:44
8)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessi
onDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:90)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:120)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
-------- chained exception -------
javax.transaction.RollbackException
at com.ibm.ejs.jts.jta.TransactionImpl.registerSynchronization(Transacti
onImpl.java:955)
at com.ibm.ejs.jts.jta.JTSXA.registerSynchronization(JTSXA.java:1096)
at com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapp
er.java:898)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.
java:776)
at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.j
ava:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManage
r.java:379)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:205)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:180)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:78)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:60)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:44)
at tla.calc.service.DbUtility.getCurrentDateTime(DbUtility.java:73)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:101)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:95)
at tla.calc.comp.inbound.ReformatSplitBatchMgrBean.invoke(ReformatSplitB
atchMgrBean.java:179)
at tla.calc.comp.inbound.EJSLocalStatelessReformatSplitBatchMgr_a2851d05
.invoke(EJSLocalStatelessReformatSplitBatchMgr_a2851d05.java:23)
at tla.calc.comp.CompBusinessDelegateBean.invoke(CompBusinessDelegateBea
n.java:21)
at tla.calc.comp.EJSLocalStatelessCompBusinessDelegate_9f47b613.invoke(E
JSLocalStatelessCompBusinessDelegate_9f47b613.java:23)
at tla.calc.service.RequestQueueMDBBean.onMessage(RequestQueueMDBBean.ja
va:61)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapp
er.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:194
)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:172)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1136)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:905)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(Se
rverSession.java:696)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:4
81)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:44
8)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessi
onDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:90)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:120)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)

Request Sent, waiting for reply...
Inbound Data Validator abnornally at (client time): Thu Oct 07 21:45:42 GMT 2004
java.sql.SQLException: DSRA9002E: ResourceException with error code null: javax.
resource.ResourceException: addSync: caught Exception
at com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapp
er.java:958)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.
java:776)
at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.j
ava:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManage
r.java:379)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:205)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:180)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:78)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:60)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:44)
at tla.calc.service.DbUtility.getCurrentDateTime(DbUtility.java:73)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:101)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:95)
at tla.calc.comp.inbound.ReformatSplitBatchMgrBean.invoke(ReformatSplitB
atchMgrBean.java:179)
at tla.calc.comp.inbound.EJSLocalStatelessReformatSplitBatchMgr_a2851d05
.invoke(EJSLocalStatelessReformatSplitBatchMgr_a2851d05.java:23)
at tla.calc.comp.CompBusinessDelegateBean.invoke(CompBusinessDelegateBea
n.java:21)
at tla.calc.comp.EJSLocalStatelessCompBusinessDelegate_9f47b613.invoke(E
JSLocalStatelessCompBusinessDelegate_9f47b613.java:23)
at tla.calc.service.RequestQueueMDBBean.onMessage(RequestQueueMDBBean.ja
va:61)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapp
er.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:194
)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:172)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1136)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:905)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(Se
rverSession.java:696)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:4
81)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:44
8)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessi
onDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:90)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:120)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
-------- chained exception -------
javax.transaction.RollbackException
at com.ibm.ejs.jts.jta.TransactionImpl.registerSynchronization(Transacti
onImpl.java:955)
at com.ibm.ejs.jts.jta.JTSXA.registerSynchronization(JTSXA.java:1096)
at com.ibm.ejs.j2c.LocalTransactionWrapper.addSync(LocalTransactionWrapp
er.java:898)
at com.ibm.ejs.j2c.ConnectionManager.initializeForUOW(ConnectionManager.
java:776)
at com.ibm.ejs.j2c.ConnectionManager.involveMCInTran(ConnectionManager.j
ava:622)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManage
r.java:379)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:205)
at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSo
urce.java:180)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:78)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:60)
at tla.calc.service.DataSourceServiceLocator.getConnection(DataSourceSer
viceLocator.java:44)
at tla.calc.service.DbUtility.getCurrentDateTime(DbUtility.java:73)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:101)
at tla.calc.service.FileImportTracker.end(FileImportTracker.java:95)
at tla.calc.comp.inbound.ReformatSplitBatchMgrBean.invoke(ReformatSplitB
atchMgrBean.java:179)
at tla.calc.comp.inbound.EJSLocalStatelessReformatSplitBatchMgr_a2851d05
.invoke(EJSLocalStatelessReformatSplitBatchMgr_a2851d05.java:23)
at tla.calc.comp.CompBusinessDelegateBean.invoke(CompBusinessDelegateBea
n.java:21)
at tla.calc.comp.EJSLocalStatelessCompBusinessDelegate_9f47b613.invoke(E
JSLocalStatelessCompBusinessDelegate_9f47b613.java:23)
at tla.calc.service.RequestQueueMDBBean.onMessage(RequestQueueMDBBean.ja
va:61)
at com.ibm.ejs.jms.listener.MDBWrapper$PriviledgedOnMessage.run(MDBWrapp
er.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ejs.jms.listener.MDBWrapper.callOnMessage(MDBWrapper.java:194
)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:172)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1136)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:905)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(Se
rverSession.java:696)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:4
81)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:44
8)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessi
onDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:90)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:120)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:372)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)


Can yoy help me out in fixing this problem since iam not familiar with Data Source errors..

Thank you all in advance
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which webspehere are you using
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have the same problem, did you solve this problem?, could you tell me what happens with this error?
 
reply
    Bookmark Topic Watch Topic
  • New Topic