This discussion is archived
1 Reply Latest reply: May 8, 2012 7:25 PM by Akshay Koul RSS

Exception in Server Logs : JMSCC0033 While using Weblogic 10.3.X and MQ 7

907018 Newbie
Currently Being Moderated
Following exception is contuniously occuring in Weblogic Managed Server Logs after migrating to IBM MQ 7.

com.ibm.msg.client.jms.DetailedIllegalStateException: JMSCC0033: A synchronous method call is not permitted when a session is being used asynchronously: 'acknowledge' The JMS specification does not permit the use of a session for synchronous methods when asynchronous message delivery is running. Create a separate session if you wish to use both synchronous methods and asynchronous delivery simultaneously.
     at sun.reflect.GeneratedConstructorAccessor43.newInstance(Unknown Source)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:516)
     at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:313)
     at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:388)
     at com.ibm.msg.client.jms.internal.JmsErrorUtils.createException(JmsErrorUtils.java:104)
     at com.ibm.msg.client.jms.internal.JmsSessionImpl.checkSynchronousUsage(JmsSessionImpl.java:2375)
     at com.ibm.msg.client.jms.internal.JmsMessageImpl.acknowledge(JmsMessageImpl.java:1559)
     at com.ibm.jms.JMSMessage.acknowledge(JMSMessage.java:351)
     at weblogic.ejb.container.internal.MDListener$MDMessage.acknowledge(MDListener.java:802)
     at weblogic.ejb.container.internal.MDListener$1.run(MDListener.java:237)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2473)
     at weblogic.ejb.container.internal.MDListener.putListener(MDListener.java:234)
     at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:687)
     at weblogic.ejb.container.internal.MDListener.run(MDListener.java:744)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points