Created On: 30 July 2010
Problem:
- Product Name: VisiBroker for Java
- Product Version: All
- Product Component: ORB
- Platform/OS Version: All
Resolution:
1. Create the below directory structure, with files included (vbj.config and vbj.exe are optional)
|--%PRODUCT_HOME%
|--bin (vbroker.bat, vbj.config, vbj.exe)
|--lib (lm.jar, sanct6.jar, sanctuary.jar, vbjorb.jar, vbsec.jar)
|--license (reg*.txt or *.slip)
|--var (license.ini)
2. Update the vbroker.bat accordingly
set VBROKERDIR=%PRODUCT_HOME% set BES_LIC_DIR=%PRODUCT_HOME%\\var set BES_LIC_DEFAULT_DIR=%PRODUCT_HOME%\\license set PATH=%PRODUCT_HOME%\\bin;%JAVA_HOM%\\bin;%PATH% set CLASSPATH=%PRODUCT_HOME%\\lib\\lm.jar; %PRODUCT_HOME%\\sanct6.jar; %PRODUCT_HOME%\\lib\\sanctuary.jar; %PRODUCT_HOME%\\lib\\vbjorb.jar; %PRODUCT_HOME%\\lib\\vbsec.jar; %CLASS_PATH%
3. Put the activation file to �S_LIC_DEFAULT_DIR% (provided in form of reg*.txt or *.slp)
4. Make sure that only license.ini at �S_LIC_DIR%
5. Run vbroker.bat to setup simulating environment
6. Start up the Server ORB
prompt> vbj Server
Server can be alternatively started with Java command follows below steps:
prompt> java -Djavax.rmi.CORBA.StubClass=com.inprise.vbroker.rmi.CORBA.StubImpl -Djavax.rmi.CORBA.UtilClass=com.inprise.vbroker.rmi.CORBA.UtilImpl -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton -Dborland.enterprise.licenseDir=�S_LIC_DIR% -Dborland.enterprise.licenseDefaultDir=�S_LIC_DEFAULT_DIR% Server
7. The Server will start if the licence is correct. Otherwise the invalid licence message will be prompted.
8. Upon the license validation completes, borland.lic and borland.pgk are generated at �S_LIC_DIR%
*** Note: For C edition, refer to following article: [[knowledge_base:Minimum Visibroker Installation needed to run a C Client or a basic C Server]]
*** Note: For C edition, refer to following article: [[knowledge_base:Minimum Visibroker Installation needed to run a C Client or a basic C Server]]
Incident: #2461984
#VisiBroker
#Security