1 2 Previous Next 18 Replies Latest reply on Mar 27, 2007 3:08 PM by Scott Stark

    org.jboss.test.cts.test.MDBUnitTestCase

    Scott Stark Master

      The MDBUnitTestCase is failing because of this client side error:

      2631 ERROR [ExceptionInterceptor] Caught throwable
      java.lang.IllegalStateException: There is already a delivery set for auto ack
       at org.jboss.jms.client.state.SessionState.setAutoAckInfo(SessionState.java:372)
       at org.jboss.jms.client.container.SessionAspect.handlePreDeliver(SessionAspect.java:257)
       at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handlePreDeliver_195406657.invoke(SessionAspect_z_handlePreDeliver_195406657.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_N1401156438058258070.invokeNext(ClientSessionDelegate$preDeliver_N1401156438058258070.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:106)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_N1401156438058258070.invokeNext(ClientSessionDelegate$preDeliver_N1401156438058258070.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_N1401156438058258070.invokeNext(ClientSessionDelegate$preDeliver_N1401156438058258070.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientSessionDelegate$preDeliver_N1401156438058258070.invokeNext(ClientSessionDelegate$preDeliver_N1401156438058258070.java)
       at org.jboss.jms.client.delegate.ClientSessionDelegate.preDeliver(ClientSessionDelegate.java)
       at org.jboss.jms.client.remoting.MessageCallbackHandler.receive(MessageCallbackHandler.java:442)
       at org.jboss.jms.client.container.ConsumerAspect.handleReceive(ConsumerAspect.java:150)
       at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleReceive_195406657.invoke(ConsumerAspect_z_handleReceive_195406657.java)
       at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
       at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:171)
       at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:106)
       at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
       at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)
       at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
       at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
       at org.jboss.jms.client.delegate.ClientConsumerDelegate$receive_N8299950230150603585.invokeNext(ClientConsumerDelegate$receive_N8299950230150603585.java)
       at org.jboss.jms.client.delegate.ClientConsumerDelegate.receive(ClientConsumerDelegate.java)
       at org.jboss.jms.client.JBossMessageConsumer.receive(JBossMessageConsumer.java:86)
       at org.jboss.test.cts.test.MDBInvoker.run(MDBInvoker.java:70)
      


      I'm using the 1.2.0.GA with aop version compatibility locally hacked to be 2.0.0.alpha3. What is the source of this error? The test uses basic jms apis.


        1 2 Previous Next