Deploying Orbix 3.3 Java code inside Oracle 11G Application server
|Summary||This article clarifies steps needed to run Orbix 3.3 code inside Oracle 11G Application server|
|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:
|Error Message||org.omg.CORBA.NO_IMPLEMENT: vmcid: 0x0 minor code: 0 completed: No|
|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:
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:
|Created date:||14 September 2012|
|Last Modified:||12 February 2013|
|Last Published:||14 September 2012|
|First Published date:||14 September 2012|