3 Replies Latest reply on Jun 30, 2006 4:59 AM by Kevin Conner

    Could not enlist XAResource!

    Subramaniam Venkatachalam Newbie

      Hello All,

      I am getting an exception

      -------------------------------------------------
      [org.jboss.resource.connectionmanager.TxConnectionManager] Could not enlist XAResource!
      javax.transaction.RollbackException: Already marked for rollback
      ---------------------------------------------------

      I am using JBoss.3.2.x . We have more than one database in our application. For the first database update or any operation is going fine but as soon as we are trying to get the connection for the second database we are getting this exception.

      We are using a local-tx-datasource datasource in our application.
      We are also using spring framework for database.
      Can anyone please let me know why are we getting this exception.
      I would be really very thankful for the help.

      Awaiting Reply,
      Anand