This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

[Error] Cannot enlist resource, transaction not active

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(
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(
at weblogic.jdbc.jta.DataSource.getConnection(
at weblogic.jdbc.jta.DataSource.connect(
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnectionFromDataSource(
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnection(
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.onAquire(
at org.apache.beehive.controls.system.jdbc.JdbcControlImplInitializer$_resourceContextResourceEventsEventAdaptor.onAcquire(
at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.acquire(
at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.preInvoke(
at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(
at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(
at controls.CtrlJDBCConCSSyncCommonBean.countCCBMessageId(

Please help me investigate this problem as soon as possible. Thank you.
Posts: 6663
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is XA enabled for the oracle DB ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!