Skip to main content

Deploying Orbix 3.3 Java code inside Oracle 11G Application server

  • May 17, 2013
  • 0 replies
  • 0 views

Summary This article clarifies steps needed to run Orbix 3.3 code inside Oracle 11G Application server
Article Number 34791
Environment Orbix 3.3.10 RHEL 5
Question/Problem Description Deploying Orbix 3.3 Java code inside Oracle 11G Application server.

Running an Orbix 3.3 application inside the application server fails with org.omg.CORBA.NO_IMPLEMENT.
Clarifying Information When deploying Orbix 3.3 applications into the application server following two steps need to be taken care of:
  1. Orbix 3.3 ORB needs to be used
  2. Orbix 3.3 jars containing the Orbix/CORBA classes need to be added to the classpath of the application server
Error Message org.omg.CORBA.NO_IMPLEMENT: vmcid: 0x0 minor code: 0 completed: No
Defect/Enhancement Number
Cause The issue is caused by the application server picking up the wrong CORBA classes from the classpath. The application server picks up the CORBA classes shipped with the Java runtime (JDK) instead of the Orbix 3.3 classes.
Resolution When deploying an Orbix 3.3 application into the application server ensure the Orbix 3.3 ORB is specified by providing the following two properties at the startup of the application server:
-Dorg.omg.CORBA.ORBClass=IE.Iona.OrbixWeb.CORBA.ORB
-Dorg.omg.CORBA.ORBSingletonClass=IE.Iona.OrbixWeb.CORBA.singletonORB

In order for the Orbix classes to be picked up by the Orbix 3.3 application running inside the application server ensure the jars shipped with Orbix 3.3 are at the beginning of the classpath and prepended to the bootclasspath of the application server:

/opt/Orbix3.3.10/lib/OrbixWeb.jar:/opt/Orbix3.3.10/lib/OrbixNames.jar:/opt/Orbix3.3.10/lib/OrbixNamesUtils.jar:/opt/Orbix3.3.10/tools/jre/lib/swingall.jar:/opt/Orbix3.3.10/tools/jre/lib/rt.jar ...

-Xbootclasspath/p:/opt/Orbix3.3.10/lib/OrbixWeb.jar:/opt/Orbix3.3.10/lib/OrbixNames.jar:/opt/Orbix3.3.10/lib/OrbixNamesUtils.jar:/opt/Orbix3.3.10/tools/jre/lib/swingall.jar:/opt/Orbix3.3.10/tools/jre/lib/rt.jar
Workaround
Notes
Attachment
Created date: 14 September 2012
Last Modified: 12 February 2013
Last Published: 14 September 2012
First Published date: 14 September 2012

#Orbix
#KnowledgeDocs