Problem
- Product Name: VisiBroker
- Product Version: 8.5
- Product Component: ORB
- Platform/ OS version: All platforms
- Additional Products: Apache Geronimo 3.x
Getting the following error when initializing VisiBroker 8.5 inside Apache Geronimo:
org.omg.CORBA.INITIALIZE: Invalid ORB class: com.inprise.vbroker.orb.ORB: vmcid: 0x0 minor code: 0x0 completed: No
Resolution
Root Cause:
When attempting to use VisiBroker as an ORB inside Apache Geronimo application server, common classes between VisiBroker and Geronimo might cause some class clashing.
Apache Geronimo distribution contains an ORB version different from VisiBroker. It also uses some third party classes that are common with VisiBroker.
Solution:
In order to package a web app properly, the correct steps are:
- Remove any VisiBroker classes from Apache Geronimo classpath.
- Add all the Visibroker jars to the Web application "WEB-INF\\lib" folder in the war package file.
The VisiBroker jars are located at <VBROKERDIR>\\lib folder.
#InvalidORBclass
#Security
#VisiBroker
#CORBA.INITIALIZE
#geronimo