0 Replies Latest reply on Feb 27, 2003 9:20 AM by Matteo

    Failure in commit/rollback with a MDB

    Matteo Newbie

      I have a Message Driven Bean which causes this kind of error in JBoss. I'm using JBoss 3.0.4.

      15:17:03,762 ERROR [StdServerSession] failed to commit/rollback
      at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:100)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:294)
      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:296)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:178)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655)
      at java.lang.Thread.run(Thread.java:536)

      The code of the MDB is very simple:

      public void onMessage(Message msg)
      System.out.println("Hallo world");

      The persistence is on SQL Server 2000.

      The error disappears when I use a File System persistence.

      Can someone help me!!