Hi All,

I'm sure I'm doing something wrong, so here's the question. If I send a 
message to a JMS topic on which a Message Driven Bean is set up, and the bean 
is declared to AUTO_ACKNOWLEDGE, if I call message.acknowledge() in the bean 
will I see errors like these:

failed to commit/rollback
javax.transaction.xa.XAException
        at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:102)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:284)

When I send the message into the queue, I am creating a topic session with 
the Session.CLIENT_ACKNOWLEDGE flag set. I thought that meant that I had to 
explicitly acknowledge the message in my MDB bean. Is the container 
automatically acknowledging again, and throwing the exception?

BTW: This is in JBoss 2.4.6 that I'm seeing the above.

Cheers.

-Neal

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to