CORBA 2.3.3 Getting Started Guide (NonStop CORBA 2.3.7+)
Before You Begin Installing NonStop CORBA Over NonStop EJB
Ensure that you have matched versions of NonStop EJB and NonStop CORBA 2.3. For example, NonStop EJB version 1.1
(A11)and NonStop CORBA 2.3 version B12 is a matched set. For matches, check the NonStop EJB Readme.txt file on
the Distribution CD for the version of NonStop CORBA required for that NonStop EJB release.
Ensure the ORB.properties Include CORBA and EJB Properties
The orb.properties file is saved in the $JAVA_HOME/jre/lib directory for both NonStop CORBA 2.3 and
NonStop EJB installations. If the same $JAVA_HOME is used by a NonStop CORBA 2.3 installation and a NonStop EJB
installation, then the orb.properties from the product installed last overwrites any pre-existing orb.properties
file. This overwriting causes the removal of ORB properties for the earlier installed component.
Create a Superset of ORB.properties
Make a backup of the existing $JAVA_HOME/jre/lib/orb.properties file.1.
Install NonStop CORBA as described under Install NonStop CORBA Over NonStop EJB.2.
Create the superset orb.properties file by adding the following line from the backup copy of
orb.properties that is not in the newly installed orb.properties.
javax.rmi.CORBA.UtilClass=com.tandem.ejb.corba.se.internal.javax.rmi.CORBA.Util
The orb.properties file should include the following three properties:
org.omg.CORBA.ORBClass=com.tandem.nsdom.ORB.ORB_ORB
org.omg.CORBA.ORBSingletonClass=com.tandem.nsdom.ORB.ORB_ORB
javax.rmi.CORBA.UtilClass=com.tandem.ejb.corba.se.internal.javax.rmi.CORBA.Util
3.
Note
One issue can occur if you use this method. If NonStop CORBA 2.3 Jorb clients and servers use Object by Value (OBV),
then the presence of the EJB property in the orb.properties file will cause a problem.
Correct this problem by adding ejb.jar to the end of the CLASSPATH for Jorb OBV clients and servers.
Install NonStop CORBA over NonStop EJB
Follow these steps to install NonStop CORBA SDK over NonStop EJB.
Perform the installation using the same user id that you used for the installation of NonStop EJB.1.
Back up important files such as the naming and configuration database files, the information repository (nsdom.ir),
and the env.sh file. This is in case you decide to restore to a pre-existing state.
For example:
COPY TO
$NSD_SUBVOL.NSDCFGDB $NSD_SUBVOL.NSDCFGDX
$NSD_SUBVOL.NAMINGDB $NSD_SUBVOL.NAMINGDX
$NSD_ROOT/etc/env.sh $NSD_ROOT/etc/env_bak.sh
$NSD_ROOT/etc/nsdom.ir $NSD_ROOT/etc/nsdom_bak.ir
Also, back up any script files (such as nsdstart) that you have customized. For example:
COPY TO
$NSD_ROOT/bin/nsdstart $NSD_ROOT/bin/nsdstart_bak
2.