• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB does transaction rollback after transaction complete  RSS feed

John Norris
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application showing odd behavior. I have servlet that calls a resend bean every 5 minutes, this bean checks a queue for messages to process. The Bean is a stateless CMT bean. All works normally well except under a large load. When I process 2000+ messages, the bean will take 15+ minutes to process all messages successfully. It then closes the connection to the queue and 15 seconds later the servlet throws
org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException and then proceeds to rollback all the successful messages back on the queue to be processed again in 5 minutes.

Any ideas?
Thanks in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!