This HOW-TO describes how you can use JacORB classes from within WebLogic 8.1 in a Windows environment. This technique may work on other versions and platforms but has not been tested yet. Please let us know if this works for you and what, if any, differences you found.
Essentially, the classpath plus some JacORB specific environment variables must be set.
set JACORB_HOME=C:\jacorb_2_2_1
set JAVA_OPTIONS=%JAVA_OPTIONS% -Xbootclasspath:%JACORB_HOME%\lib\jacorb.jar;%JACORB_HOME%\lib\concurrent-1.3.2.jar;%JACORB_HOME%\lib\avalon-framework-4.1.5.jar;%JACORB_HOME%\lib\antlr-2.7.2.jar;%JACORB_HOME%\lib\idl.jar;%JACORB_HOME%\lib\logkit-1.2.jar;%JAVA_HOME%\jre\lib\rt.jar set JAVA_OPTIONS=%JAVA_OPTIONS% -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB set JAVA_OPTIONS=%JAVA_OPTIONS% -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton set JAVA_OPTIONS=%JAVA_OPTIONS% -Djacorb.home=%JACORB_HOME% set JAVA_OPTIONS=%JAVA_OPTIONS% -server echo JAVA_OPTIONS=%JAVA_OPTIONS%
Please send your comments and bugs in this script to Mike Olivieri