Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MDB throwing exception -Node already removed

4 views
Skip to first unread message

sangeet...@nordstrom.com

unread,
Jan 23, 2008, 8:19:23 PM1/23/08
to
We have couple of MDBs deployed on WAS6.0.2.19 talking to MQ6.0 and Tibco queues. Whenever the server is re-started, I have noticed the following exception being thrown for most of the MDBs.<br />
******************<br />
<strike>1/23/08 17:04:32:121 PST</strike> 0000008c ServerSession W WMSG0031E: Exception processing JMS Message for MDB MCRRequestCapture, JMSDestination jms/MCOrdCaptureQueueIn : javax.ejb.EJBException: See nested exception; nested exception is: java.lang.RuntimeException: java.lang.IllegalStateException: Node already removed.<br />
java.lang.RuntimeException: java.lang.IllegalStateException: Node already removed.<br />
at com.nordstrom.sis.mcrlistener.ejb.MCRRequestCaptureBean.ejbCreate(Unknown Source)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<b r />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)<br />
at java.lang.reflect.Method.invoke(Method.java:324)<br />
at com.ibm.ejs.container.MessageDrivenBeanO.<init>(MessageDrivenBeanO.java:149)<br />
at com.ibm.ejs.container.CMMessageDrivenBeanO.<init>(CMMessageDrivenBeanO.java:70) <br />
at com.ibm.ejs.container.CMMessageDrivenBeanOFactory.create(CMMessageDrivenBeanOFa ctory.java:39)<br />
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:912)<br />
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1015)<br />
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedA ctivationStrategy.java:83)<br />
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:595)<br />
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3439)<br />
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2836)<br />
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2764)<br />
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:87)<br />
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)<br />
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:479)<br />
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)<br />
Caused by: java.lang.IllegalStateException: Node already removed.<br />
... 19 more<br />
javax.ejb.EJBException: See nested exception; nested exception is: java.lang.RuntimeException: java.lang.IllegalStateException: Node already removed.<br />
at com.nordstrom.sis.mcrlistener.ejb.MCRRequestCaptureBean.ejbCreate(Unknown Source)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<b r />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)<br />
at java.lang.reflect.Method.invoke(Method.java:324)<br />
at com.ibm.ejs.container.MessageDrivenBeanO.<init>(MessageDrivenBeanO.java:149)<br />
at com.ibm.ejs.container.CMMessageDrivenBeanO.<init>(CMMessageDrivenBeanO.java:70) <br />
at com.ibm.ejs.container.CMMessageDrivenBeanOFactory.create(CMMessageDrivenBeanOFa ctory.java:39)<br />
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:912)<br />
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1015)<br />
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedA ctivationStrategy.java:83)<br />
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:595)<br />
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3439)<br />
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2836)<br />
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2764)<br />
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:87)<br />
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)<br />
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:479)<br />
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)<br />
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Node already removed.<br />
... 19 more<br />
Caused by: java.lang.IllegalStateException: Node already removed.<br />
... 19 more<br />
********************************<br />
I would like to understand why this exception is thrown and what can I do to prevent it. Sometimes The exception is followed by listeners being stopped after maximum retry count is reached. Is there a way I can prevent the listerner from stopping.<br />
Thanks,

Randy Schnier

unread,
Jan 24, 2008, 10:46:19 AM1/24/08
to
The exception is being thrown when the container is attempting to create an instance of your MDB class. Does your MDB have some initialization code that would throw this exception under some conditions? The container itself does not throw this exception.

sangeet...@nordstrom.com

unread,
Jan 24, 2008, 1:23:21 PM1/24/08
to
Thanks a lot for explaining. I will ask developers to check the code. If I find something I will post it for everyone's benefit.
0 new messages