0 Replies Latest reply on Mar 12, 2002 5:11 AM by jag

    Transaction timing out

    jag Newbie

      Dear users,

      I wonder if you could shed some light on the problem I am having with MDB on JBoss2.4.3.
      I have a process that queues requests using jms QueueSender and waits for a response.

      If the response is relatively quick i.e. under a minute, it all works fine, however, if the request take 2 -5 mins, I get the following exception.

      I have set both the MessageProducer.setTimeToLive() and MessageConsumer.receive() to 0 as this should mean wait forever.

      I have also increased the TransactionTimeout from 300 to 600000 in jboss.jcml

      I would greatly appreciate your help.

      [JMSContainerInvoker] Exception in JMSCI message listener
      java.rmi.ServerException: Transaction rolled back:null
      at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT.java:122)
      at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:58)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      at org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:281)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:165)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:644)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:426)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:297)
      at org.jboss.mq.SpySession.run(SpySession.java:216)
      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(Unknown Source)