CORBA 2.3.3 Administration Guide (NonStop CORBA 2.3.3+)

CORBA, to be running.
NonStop CORBA programs are located in the nsdoms directory. Therefore, if the ps e command shows that processes in
nsdoms are running, NonStop CORBA is running.
Cannot Start CORBA Server
Problem: You try to start a Java CORBA server and get the following error message:
/home/ecrm/stack: java Server -ORBprofile tcp_server
Exception in thread "main" java.lang.NoClassDefFoundError:
org/omg/PortableServer/POAManagerPackage/AdapterInactive
Solution: To verify that the NonStop CORBA environment has been set, run the following command at the OSS prompt:
/home/ecrm/stack: env | grep NSD
The output should look like this:
NSD_BOOTCP=/usr/tandem/java/jre/lib/tandemvm.jar:/usr/tandem/java/jre/lib/rt.jar
NSD_SUBVOL=$system.zorbsdk
NSD_ROOT=/usr/tandem/nsdoms
NSD_ROOT_ETC=/usr/tandem/nsdoms/etc
NSD_DIR=/G/system/zorbsdk
NSDOM_CFG_DBM=$system.zorbsdk.NSDCFGDB
NSD_SRL_SUBVOL=$system.zorbsdk
NSD_SRL_DIR=/G/system/zorbsdk
NSDOM_ADMIN_DB=$SYSTEM.ZORB231.ADMINDB
If the command returns without any output, then the NonStop CORBA environment has not been set, and you must run the
following command to set it up:
. /usr/tandem/nsdoms/etc/env.sh
Now you should be able to start the NonStop CORBA server.
Explanation: The server program in the example above failed because it tried to use some Java classes provided by the
NonStop CORBA libraries. Those libraries are available from the CLASSPATH, which is set correctly when the .
/usr/tandem/nsdoms/etc/env.sh command is used.
For convenience, add this command to the end of the .profile file, which is executed whenever you log on to OSS.
Shared Library ioser12 Could Not Be Found
Problem: You execute a CORBA server on NT, using JorbLite 2.3, Suns JDK 1.2.2, and JAR files for a third-party
application. You get the following error:
ERROR! Shared library ioser12 could not be found.
Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadClass at
com.sun.corba.se.internal.util.JDKClassLoader.loadClass
(JDKClassLoader.java) at
...
com.blazesoft.engines.rules.NdRuleAgent.initialize(:3877) at
AuthorizerRuleAgent.instantiate(AuthorizerRuleAgent.java, Compiled Code)
at AuthorizerServer.<init>(AuthorizerServer.java,
Compiled Code)
at AuthorizerServer.main(AuthorizerServer.java, Compiled Code)
JorbLite 2.3 works correctly with Suns JDK 1.2.2, and the third-party application (in this case, the Blaze Rules Engine) works
correctly with JDK 1.2.2, but when you execute them together, an error occurs.
Solution: Use Suns JDK 1.3, because this error refers to a Java runtime library ( ioser12.dll) not present in JDK 1.2.2.