Problem:
- Product Name: VisiBroker for C
- Product Version: 7.0
- Product Component: ORB
- Platform/OS Version: Windows
What is the minimum Visibroker Installation needed to run a C Client or a basic C Server
Resolution:
Steps to complete the minimum installation to run your client or a basic server application:
1. Copy vport_r_70.dll, vdlog_r_70.dll, orb_r_70.dll and lmgr.dll, osagent.exe and lmadm.exe into a folder, for example, D:\\Borland\\min_install
2. Copy the complete content of the "var" and "license" folders from the already registered VisiBroker installation.
3. Copy lm.jar, sanct6.jar and sanctuary.jar from the lib folder of the VisiBroker product installation.
4. Now, following will be the contents of D:\\Borland\\min_install:
03/14/2007 02:54 PM . 03/14/2007 02:54 PM .. 03/14/2007 03:04 PM license 11/09/2006 04:09 PM 203,903 lm.jar 03/14/2007 02:44 PM 672 lmadm.config ---> to be created in step 6 11/09/2006 04:09 PM 125,952 lmadm.exe 11/09/2006 04:09 PM 356,352 lmgr.dll 11/09/2006 04:09 PM 5,234,688 orb_r_70.dll 11/09/2006 04:09 PM 462,848 osagent.exe 11/09/2006 04:09 PM 23,537 sanct6.jar 11/09/2006 04:09 PM 728,636 sanctuary.jar 03/14/2007 03:17 PM var 03/14/2007 02:42 PM 220 vbroker.bat ---> to be created in step 7 11/09/2006 04:09 PM 155,648 vdlog_r_70.dll 11/09/2006 04:09 PM 286,720 vport_r_70.dll
5. Create and run the following batch file named vbroker.bat:
set VBROKERDIR=D:\\Borland\\min_install set VBROKER_ADM=%VBROKERDIR%\\var\\vbroker\\adm set OSAGENT_PORT=14000 set PATH=%VBROKERDIR%;%PATH% set BES_LIC_DIR=%VBROKERDIR%\\var set BES_LIC_DEFAULT_DIR=%VBROKERDIR%\\license
6. Create a config file named lmadm.config with following contents:
# Set the product install root set installRoot=$var(programDir) # Location of your Java 2 JDK installation (folder containing the "jre" sub-folder) # Change it to point to jdk installation on your machine or set jdk path in PATH. javahome D:/Borland/VisiBroker/7/jdk/jdk1.5.0 # Set up the list of jars in the product system directory addpath $var(installRoot)/lm.jar addpath $var(installRoot)/sanct6.jar # The product installation location vmprop application.home=$var(installRoot) # The product license vmprop borland.enterprise.licenseDefaultDir=$var(installRoot)/license vmprop borland.enterprise.licenseDir=$var(installRoot)/var # Entry points into Java mainclass com.borland.enterprise.license.LMAdm
Note: For registration you will need to run the lmadm utility that comes with VisiBroker installation, and version 1.3.1 or higher is required by the lmadm utility. So, it will be part of the minimum installation, we have to use "-javahome" to specify the JDK or JRE location.
For the Java Edition, please refer to the following article: [[knowledge_base:Minimum installation for VisiBroker Java Edition to run Client and basic Server ORB]]
#Security
#VisiBroker




