Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.ibm.websphere.naming.CannotInstantiateObjectException: ??????

843830Aug 30 2007
I am posting a another Prob . Is this a Jndi mismatch ? or Webshere version mismatch for the Specific genererated EJB Stubs .

Hope you all know that , Ejb when Deployed in Webshere will ask for the Stubs and Skeleton . But If the same Stubs when used in Higher Version will not be Compatible. Pls Suggest mee...

Thanks



NamingException is being thrown from a javax.naming.Context implementation. Details follow:
Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
Context method: lookupExt
Context name: linuxNode01Cell/nodes/linuxNode01/servers/depejb1
Target name: jdbc/DEPWBDS
Other data: ""
Exception stack trace: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Invalid EJB component: Cannot use an EJB module with version 11 using The Relational Resource Adapter
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.validBean(ConnectionFactoryBuilderImpl.java:1050)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getCMConfigData(ConnectionFactoryBuilderImpl.java:710)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:330)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:314)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:874)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:681)
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1969)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1824)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1737)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1444)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1324)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at com.ramco.rvw.tp.CService.connect(cservice.java:1326)
at com.ramco.rvw.tp.CService.Preprocess(cservice.java:186)
at com.ramco.admin.javabean.Cadm_user_combogetsrv.executeService(Cadm_user_combogetsrv.java:151)
at com.ramco.rvw.tp.CService.processService(cservice.java:907)
at com.ramco.admin.ejb.Admin01bean.rvwAdm_User_ComboGetSrv(Admin01bean.java:731)
at com.ramco.admin.ejb.EJSRemoteStatelessAdmin01_c39e7e96.rvwAdm_User_ComboGetSrv(Unknown Source)
at com.ramco.admin.ejb._EJSRemoteStatelessAdmin01_c39e7e96_Tie.rvwAdm_User_ComboGetSrv(_EJSRemoteStatelessAdmin01_c39e7e96_Tie.java:902)
at com.ramco.admin.ejb._EJSRemoteStatelessAdmin01_c39e7e96_Tie._invoke(_EJSRemoteStatelessAdmin01_c39e7e96_Tie.java:226)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:608)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:461)
at com.ibm.rmi.iiop.ORB.process(ORB.java:432)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1728)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2229)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:65)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2007
Added on Aug 30 2007
0 comments
788 views