Problem:
- Product Name: VisiBroker for Java
- Product Version: 7.0 and later
- Product Component: Core
- Platform/OS Version: All
Starting from VisiBroker 7.0, the org.omg.CORBA.ORB class is no longer included in the vbjorb.jar file.
However, this class can be found in rt.jar bundled in the JDK. In the earlier VisiBroker version 6.5, the vbjorb.jar includes the org.omg.CORBA.ORB class.
Resolution:
The org.omg.CORBA.ORB class is a base class defined by OMG and it is the same as the one bundled in the JDK's rt.jar. VisiBroker implementation of the ORB class is in com.inprise.vbroker.orb.ORB. However, it is recommended to use the base class, i.e. org.omg.CORBA.ORB, in the application's code to be compatible with other ORB vendors.
The use of VisiBroker's ORB implementation is transparent to the application when you run it using VisiBroker vbj launcher. The vbj launcher will automatically set the variable org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB to use the VisiBroker ORB implementation.
If your application is started using java instead of vbj, you should set the org.omg.CORBA.ORBClass variable to com.inprise.vbroker.orb.ORB. You can find out all the JVM options and classpath value needed to run the java application by executing `vbj -debug`.
Related Article
[[knowledge_base: How to run VisiBroker 7.0 Java program through a standalone Java executable or through JBuilder 2006?]]
[[knowledge_base: Minimum installation for VisiBroker Java Edition to run Client and basic Server ORB]]
[[knowledge_base: Properties that take precedence when using vbj launcher]]
Incident #00250183
#org.omg.CORBA.ORB
#Security
#VisiBroker
#vbjorb.jar