3 Replies Latest reply on Sep 30, 2002 1:06 PM by Thekepat Sudesh

    JMS commit/rollback exception in JBOSS 3.2.0

    Thekepat Sudesh Newbie

      At the end of onMessage of the MDB, I seem to get
      the exception stating the SessionContainer could
      not commit/rollback. The Application works fine with
      all the previous versions of JBOSS. Please comment.

        • 1. Re: JMS commit/rollback exception in JBOSS 3.2.0
          Andreas Schaefer Apprentice

          What's is the exception (stack trace) ?

          • 2. Re: JMS commit/rollback exception in JBOSS 3.2.0
            Dan Cornell Newbie

            I believe I am having the same problem on JBoss 3.0.1_Tomcat, and my stack trace is included below.

            This happened right after I changed the PersistenceManager from the org.jboss.mq.pm.file.PersistenceManager to the org.jboss.mq.pm.jdbc2.PersistenceManager. I'm using MySQL 4.0.2-alpha-Max, InnoDB tables, and the MySQL Connector/J 3.0.2dev JDBC driver. My machine is a dual PIII ~550Mhz with 512 MB RAM running RedHat 7.2.


            00:27:42,736 ERROR [StdServerSession] failed to commit/rollback
            javax.transaction.xa.XAException
            at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:100)
            at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:289)
            at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:603)
            at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:417)
            at org.jboss.mq.SpySession.run(SpySession.java:259)
            at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:177)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
            at java.lang.Thread.run(Thread.java:479)

            • 3. Re: JMS commit/rollback exception in JBOSS 3.2.0
              Thekepat Sudesh Newbie

              > I believe I am having the same problem on JBoss
              > 3.0.1_Tomcat, and my stack trace is included below.
              >
              > This happened right after I changed the
              > PersistenceManager from the
              > org.jboss.mq.pm.file.PersistenceManager to the
              > org.jboss.mq.pm.jdbc2.PersistenceManager. I'm using
              > MySQL 4.0.2-alpha-Max, InnoDB tables, and the MySQL
              > Connector/J 3.0.2dev JDBC driver. My machine is a
              > dual PIII ~550Mhz with 512 MB RAM running RedHat
              > 7.2.
              >
              >
              > 00:27:42,736 ERROR [StdServerSession] failed to
              > commit/rollback
              > javax.transaction.xa.XAException
              > at
              > org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:
              > 00)
              > at
              > org.jboss.jms.asf.StdServerSession.onMessage(StdServe
              > Session.java:289)
              > at
              > org.jboss.mq.SpyMessageConsumer.sessionConsumerProces
              > Message(SpyMessageConsumer.java:603)
              > at
              > org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessage
              > onsumer.java:417)
              > at org.jboss.mq.SpySession.run(SpySession.java:259)
              > at
              > org.jboss.jms.asf.StdServerSession.run(StdServerSessi
              > n.java:177)
              > at
              > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
              > .run(PooledExecutor.java:655)
              > at java.lang.Thread.run(Thread.java:479)