Skip to main content
Summary Rebind an object reference into the Naming Service throws a org.omg.CORBA.NO_IMPLEMENT exception
Article Number 18923
Environment HP-UX 11.x Orbix 3.3.10
Question/Problem Description Rebind an object reference into the Naming Service throws a org.omg.CORBA.NO_IMPLEMENT exception

Orbix 3.3 Java based server running under JDK 1.6 fails with following error

org.omg.CORBA.NO_IMPLEMENT:   vmcid: 0x0  minor code: 0  completed: No
        at org.omg.CORBA.portable.Delegate.releaseReply(Delegate.java:349)
        at org.omg.CORBA.portable.ObjectImpl._releaseReply(ObjectImpl.java:474)
        at org.omg.CosNaming._NamingContextStub.rebind(_NamingContextStub.java:169)

Clarifying Information
Error Message
Defect/Enhancement Number
Cause This is caused by the wrong classes being picked up from the classpath. The runtime picks up the CORBA classes from the JDK rather then the Orbix classes.
Resolution

Ensure the Orbix 3.3 classes are specified at server startup by using the prepend option to the Xbootclasspath as follows:

java -Xbootclasspath/p:/opt/iona/Orbix3.3.10/lib/OrbixWeb.jar:/opt/iona/Orbix3.3.10/lib/OrbixNames.jar:
/opt/iona/Orbix3.3.10/lib/OrbixNamesUtils.jar:/opt/iona/Orbix3.3.10/tools/jre/lib/swingall.jar:/opt/iona/Orbix3.3.10/tools/jre/lib/rt.jar

Workaround
Notes
Attachment
Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 10 September 2011

#Orbix
#KnowledgeDocs