Hi,
I receive this corba Error when I try to bind a Java class which implements java.rmi.Remote to the JNDI Registry of GlassFish v1 (in order to access this object with an EJB). The binding is well done when I try with JBoss.
[i]WARNING: "IOP00511403: (INV_OBJREF) Class temp.RMIServerHandler not exported, or else is actually a JRMP stub"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1403 completed: No
at com.sun.corba.ee.impl.logging.UtilSystemException.objectNotExported(UtilSystemException.java:569)
at com.sun.corba.ee.impl.logging.UtilSystemException.objectNotExported(UtilSystemException.java:592)
at com.sun.corba.ee.impl.util.Utility.autoConnect(Utility.java:147)
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.writeAny(Util.java:323)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.write(DynamicMethodMarshallerImpl.java:256)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.writeArguments(DynamicMethodMarshallerImpl.java:407)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:157)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:119)
at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:197)
at com.sun.enterprise.naming._SerialContextProvider_DynamicStub.bind(_SerialContextProvider_DynamicStub.java)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:372)
at javax.naming.InitialContext.bind(InitialContext.java:359)
....
javax.naming.CommunicationException: java.rmi.NoSuchObjectException: CORBA INV_OBJREF 1398080891 No; nested exception is:
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1403 completed: No
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:374)
at javax.naming.InitialContext.bind(InitialContext.java:359)
....[/i]
I have tried to add the codebase to the JVM option but nothing is changing.
Before launching the bind operation, I export my object with UnicastRemoteObject.exportObject(myObject, 0);
I tried to bind an other object (like "new HashMap()" ) and it works fine.
Anybody to help me?
Thx
[Message sent by forum member 'nrichand' (nrichand)]
http://forums.java.net/jive/thread.jspa?messageID=207844