aspose file tools*
The moose likes Websphere and the fly likes Getting error in my MDB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Getting error in my MDB" Watch "Getting error in my MDB" New topic
Author

Getting error in my MDB

NitinMrt Agarwal
Greenhorn

Joined: Mar 15, 2009
Posts: 1
Hi Experts,

I am getting following error after deploying my MDB.

[3/16/09 9:43:11:560 SGT] 000000e9 ServerSession W WMSG0031E: Exception processing JMS Message for MDB ArchiveGMCDocMessageBean, JMSDestination jms/DoxterFrGmcStmtReq : javax.ejb.EJBException: See nested exception; nested exception is: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:921)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1030)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3525)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2923)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2851)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:92)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:481)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
javax.ejb.EJBException: See nested exception; nested exception is: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:921)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1030)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3525)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2923)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2851)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:92)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:481)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
... 11 more

[3/16/09 9:43:11:587 SGT] 000000e9 ExceptionUtil E CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage". Exception data: java.rmi.RemoteException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean; nested exception is:
java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:925)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1030)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3525)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2923)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2851)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:92)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:481)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:921)
... 10 more

[3/16/09 9:43:11:590 SGT] 000000e9 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[3/16/09 9:43:11:592 SGT] 000000e9 ServerSession W WMSG0031E: Exception processing JMS Message for MDB ArchiveGMCDocMessageBean, JMSDestination jms/DoxterFrGmcStmtReq : javax.ejb.EJBException: See nested exception; nested exception is: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:921)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1030)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3525)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2923)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2851)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:92)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:481)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
javax.ejb.EJBException: See nested exception; nested exception is: java.lang.ClassCastException: com.juliusbaer.mdb.archive.ArchiveGMCDocMessageBean
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:921)
at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome.java:1030)
at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate(UncachedActivationStrategy.java:84)
at com.ibm.ejs.container.activator.Activator.activateBean(Activator.java:597)
at com.ibm.ejs.container.EJSContainer.preInvokeActivate(EJSContainer.java:3525)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2923)
at com.ibm.ejs.container.EJSContainer.preInvoke(EJSContainer.java:2851)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:92)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:481)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.ClassCastException


Please help me out to relove the issue.

Thanks.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

"Nitin Mrt " welcome to Javaranch
please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Paul Pacheco
Greenhorn

Joined: Aug 20, 2009
Posts: 1
I am getting the exact same error with the same stack trace.

What did you do to fix it?
Jean Baro
Greenhorn

Joined: Dec 09, 2009
Posts: 2
Hi!

I am facing the exact same issue.

Does any one have the answer for it?

Cheers
Ankush Khandekar
Greenhorn

Joined: May 22, 2011
Posts: 1

Hi,

I am facing the same issue.

Does any one have any solution for it?
 
wood burning stoves
 
subject: Getting error in my MDB