Problem:
- Product Name: VisiBroker
- Product Version: 5.2.1
- Product Component: Naming Service
- Platform: Unix
How do I start the VisiNaming service using the java command instead of the namserv or vbj command?
Resolution:
The following command uses these environment variables:VBROKERDIR=/opt/VisiBroker
VBROKER_ADM=$VBROKERDIR/adm
or for AppServer installations
VBROKER_ADM=$VBROKERDIR/var/servers/adm
% java -Dorg.omg.CORBA.ORB.inprise.vbroker.orb.ORB \\
-Dorg.omg.CORBA.ORBSingleton.inprise.vbroker.orb.ORBSingleton \\
-Djavax.rmi.CORBA.Stub.inprise.vbroker.rmi.CORBA.StubImpl \\
-Djavax.rmi.CORBA.Util.inprise.vbroker.rmi.CORBA.UtilImpl \\
-Djavax.rmi.CORBA.PortableRemoteObject.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl \\
-Dvbroker.orb.admDir=$VBROKER_ADM \\
-Dvbroker.enterprise.licenseDir=$VBROKER_ADM \\
-Djava.class.path=$VBROKERDIR/lib/vbjorb.jar:$VBROKERDIR/lib/lm.jar:$VBROKERDIR/lib/vbsec.jar \\
com.inprise.vbroker.naming.ExtFactory
This information can be obtained using the following command sequence:
% source /bin/vbroker.csh
% nameserv -VBJdebug
#VisiBroker
#Security




