• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Error] Cannot enlist resource, transaction not active

 
Phods Lg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I try to execute sql with oracle database and i found some error.
For more detail. I used datasource with Oracle XA Thin.

org.apache.beehive.controls.api.ControlException: SQL Exception while attempting to connect to database.[java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Unexpected exception: Cannot enlist resource, transaction not active. BEA1-410E2913EA2E856E2B7B. xid=BEA1-410E2913EA2E856E2B7B, status=Committed
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1437)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1344)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:441)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:397)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnectionFromDataSource(JdbcControlImpl.java:412)
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnection(JdbcControlImpl.java:164)
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.onAquire(JdbcControlImpl.java:111)
at org.apache.beehive.controls.system.jdbc.JdbcControlImplInitializer$_resourceContextResourceEventsEventAdaptor.onAcquire(JdbcControlImplInitializer.java:27)
at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.acquire(ResourceContextImpl.java:126)
at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.preInvoke(ResourceContextImpl.java:110)
at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(ControlBean.java:411)
at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(ControlBean.java:424)
at controls.CtrlJDBCConCSSyncCommonBean.countCCBMessageId(CtrlJDBCConCSSyncCommonBean.java:374)

Please help me investigate this problem as soon as possible. Thank you.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is XA enabled for the oracle DB ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic