Problem: Product Name: VisiBroker for Java Product Version: 5.0 and later Product Component: Web Services Platform/OS Version: All How to configure standalone Tomcat to use java commands? That is, CORBA clients are Java Servlets running in a Web Container, in this case they are instantiated directly by the web container JVM and cannot benefit from the configuration done by the VBJ utility and therefore fail to execute VisiBroker ORB. Resolution: Setting system properties org.omg.CORBA.ORBClass and org.omg.CORBA.ORBSingletonClass in the "orb.properties" file (located in the /jre/lib directory) is the usual way to point the JRE to a specific vendor ORB. The file should contain the following: # Make VisiBroker for Java the default ORB org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton javax.rmi.CORBA.StubClass=com.inprise.vbroker.rmi.CORBA.StubImpl javax.rmi.CORBA.UtilClass=com.inprise.vbroker.rmi.CORBA.UtilImpl javax.rmi.CORBA.PortableRemoteObjectClass=com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl Check the JRE environment that your Tomcat web server is running under to see if there is an "orb.properties" file? If not, then you need to create a orb.properties file as I suggested and then your alication should uses the Visibroker ORB.
↧