This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes CORBA.OBJECT_NOT_EXIST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CORBA.OBJECT_NOT_EXIST" Watch "CORBA.OBJECT_NOT_EXIST" New topic
Author

CORBA.OBJECT_NOT_EXIST

rajen prasad
Greenhorn

Joined: Aug 16, 2006
Posts: 15
Hi All,
I am using websphere with RAD. When I am trying to call EJB from Portlet getting following Exception.

A 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: NTWPWMWIN0024ANode01Cell/nodes/NTWPWMWIN0024ANode01/servers/server1
Target name: ejb/com/project/ejb/pf/SLSHome
Other data:
Exception stack trace: javax.naming.NamingException: Error during resolve. Root exception is org.omg.CORBA.OBJECT_NOT_EXIST:

org.omg.CORBA.OBJECT_NOT_EXIST: SERVANT_NOT_FOUND (4) for key 0x49454a500200f84a322e077365727665723103454a420000007dacac0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d65730850574d50464163636f756e744163746976697479424c4541522350574d50464163636f756e744163746976697479424c2e6a61722350574d506f7274666f6c696f534c534265616e vmcid: IBM minor code: C14 completed: No
at com.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:109)
at com.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:298)
at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:532)
at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1630)
at com.ibm.rmi.iiop.CDRInputStream.newObjRef(CDRInputStream.java:1106)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1083)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1018)
at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:106)
at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:94)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3454)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3374)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3343)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1877)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1598)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:1025)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:1435)
at com.ibm.WsnOptimizedNaming._NamingContextImplBase._invoke(Unknown Source)
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)


vmcid: IBM minor code: C14 completed: No
at com.ibm.rmi.corba.ObjectManager.lookupServant(ObjectManager.java:109)
at com.ibm.CORBA.iiop.ServerDelegate.getServant(ServerDelegate.java:298)
at com.ibm.rmi.iiop.ORB.lookupLocalObject(ORB.java:532)
at com.ibm.CORBA.iiop.ORB.lookupLocalObject(ORB.java:1630)
at com.ibm.rmi.iiop.CDRInputStream.newObjRef(CDRInputStream.java:1106)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1083)
at com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:1018)
at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:106)
at com.ibm.rmi.corba.IorURL.resolve(IorURL.java:94)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3454)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3374)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3343)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolveUnresolvedBinding(WsnOptimizedNamingImpl.java:1877)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.resolve_binding(WsnOptimizedNamingImpl.java:1598)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:1025)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:1435)
at com.ibm.WsnOptimizedNaming._NamingContextImplBase._invoke(Unknown Source)
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)




Please help me ....


Thanks in advance,
Rajendra Prasad.
Vinay Raj
Ranch Hand

Joined: Jun 19, 2006
Posts: 81
Verify if your client jar and the server code are in synch i.e. there is no version mis-match. Sometimes the client jar can be old leading to version mis-match.
rajen prasad
Greenhorn

Joined: Aug 16, 2006
Posts: 15
Yeah I checked it and there is no version problem. It was working before restarting my App server. But After restarting it I am getting this problem.

Please help me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CORBA.OBJECT_NOT_EXIST
 
Similar Threads
Websphere JNDI look up error
Error : WSVR0068E: Attempt to start EnterpriseBean
WebSphere Application Server 7 could not find jndi name.
WAS7 cluster member: can't lookup from WSAD 5.1.2
EJB threw an unexpected (non-declared) exception