Product: OpenFusion JacORB
Version: All
Description:
JacORB application fails to start and contains a stack trace with:
Caused by: java.lang.ClassCastException:
com.sun.corba.se.impl.orb.ORBSingleton
at org.jacorb.orb.typecode.AbstractTypeCodeReader
Resolution:
All JDKs ship with an ORB, which is loaded by default. This problem occurs when the JVM picks up the Sun ORB classes instead of the JacORB classes.
Options to resolve this problem:
- Make sure that the ORBSingleton properties are passed to the JVM on start up.
- Use the –Xbootclasspath to pass in the JacORB jar files instead of the –classpath.
The jaco script which is in the bin directory of the installation gives examples of this.Try starting your server using the jaco script to see if this works.
#KnowledgeDocs
#OpenFusion
#jacorborbsingletonxbootclasspath




