Hello,
I have WAS5.0 network Deployment setup(WAS Cluster Environment).
I have a Session bean which call a method lets say methodA from SessionBeanA,SessionBeanA Posts Message on a topic and a MDB say MDBA listens to that topic through another bean SessionBeanB. MDBA receives the message and execute a method on a class say methodB on classA and after executing methodB, it posts the result on the same topic and SessionBeanA is waiting for the response.
Any help !!!
Now problem is the loop goes fine, the method gets executed but when it comes to the receival of the message by SessionBeanA, it fails giving following exception:
[2/14/03 13:51:41:798 IST] 33f8ba43 MCWrapper E J2CA0079E: Method getConnectionManager has detected an internal illegal state and is throwing an
IllegalStateException. The exception is: java.lang.IllegalStateException: getConnectionManager: illegal state exception. State = STATE_ACTIVE_FREE
at com.ibm.ejs.j2c.MCWrapper.getConnectionManager(MCWrapper.java:547)
at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:601)
at com.ibm.ejs.jms.JMSManagedSession.interactionPending(JMSManagedSession.java:962)
at com.ibm.ejs.jms.JMSManagedSession.enlist(JMSManagedSession.java:805)
at com.ibm.ejs.jms.JMSMessageConsumerHandle.enlist(JMSMessageConsumerHandle.java:502)
at com.ibm.ejs.jms.JMSMessageConsumerHandle.receive(JMSMessageConsumerHandle.java:233)
at com.savvion.ejb.bizpulse.manager.TopicMsgPublisher.ReceiveAPIMessage(Unknown Source)
at com.savvion.ejb.bizpulse.manager.BizPulseManagerBean.getStatus(Unknown Source)
at com.savvion.ejb.bizpulse.manager.EJSRemoteStatelessBizPulseManager_ab824ac5.getStatus(Unknown Source)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_ab824ac5_Tie._get_status(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:679)
at com.savvion.ejb.bizpulse.manager._EJSRemoteStatelessBizPulseManager_ab824ac5_Tie._invoke(_EJSRemoteStatelessBizPulseManager_ab824ac5_Tie.java:106)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:582)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:437)
at com.ibm.rmi.iiop.ORB.process(ORB.java:320)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1544)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2063)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
Thanx
Juzar