Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Deploying Orbix 3.3 Java code inside Oracle 11G Application server

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
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

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-05-17 13:14
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.