CORBA 2.6 Administration Guide
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.6, Suns 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.6 works correctly with Suns 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 Suns JDK 1.3, because this error refers to a Java runtime library ( ioser12.dll) not present in JDK 1.2.2.
First, set the following environment variables:
JDK13_HOME contains Suns JDK 1.3 home directory●
JORBLITE_HOME contains JorbLite 2.6 home directory●
CLASSPATH contains the third party JAR files●
Then the following command line will work:
%JDK13_HOME%\bin\java
-Xbootclasspath:%JORBLITE_HOME%\lib\jorblite.jar;%
JDK13_HOME%\jre\lib\rt.jar;.\Authorizer.jar;%classpath%
AuthorizerServer %* -ORBlitedbm %JORBLITE_HOME%\lib\lite.dbm -ORBprofile tcp_server
Explanation: The third-party application (in this case, the Blaze Rules Engine) and JorbLite 2.6 have a conflict in the use of
CORBA libraries. When JorbLite is installed on the workstation, it replaces the CORBA classes provided by Suns JDK with
the CORBA classes provided by JorbLite. Some third-party applications require the CORBA classes provided by Sun's JDK
and therefore cannot execute inside a CORBA server running on a workstation using JorbLite 2.6.