Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

[Error] Cannot enlist resource, transaction not active

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 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is XA enabled for the oracle DB ?
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic