Problem:
- Product Name: VisiBroker Java
- Product Version: 4.5.1
- Product Component: Gatekeeper
- Platform/OS Version: Windows 2000
- JDK/Compiler Version: JDK 1.3.1_09 or above
How to install Gatekeeper as service on Windows 2000? Is the procedure different from installing NT service on NT 4?
Resolution:
1. Be sure that latest JDK 1.3.1 (JDK 1.3.1_09) is in the System PATH variable, and no other setting like "JAVA_HOME" that would conflict with this PATH variable. (in another word, all the java-related settings should point to one JDK, if there are more than one JDK installed on this W2K machine).
2. Create a gatekeeper.props file:
#gatekeeper.props
vbroker.agent.port=<port>
if using Osagent. Otherwise, it should be:
#gatekeeper.props
vbroker.agent.enableLocator=false
to turn off the Osagent usage.
3. Do command:
gatekeeper -install -J-Xrs -props gatekeeper.props
(-J-Xrs is a JDK 1.3.1 option that allow the process to survive logoff.)
4. Go to Control Panel -> Administrative Tools -> Services, and open it. Look for the Gatekeeper service installed by the name given, and double click on it. Change the property to start automatically.
5. If Osagent is used, be sure that there is an instance of osagent running in the subnet, but not on the same machine, and restart the machine. If the Osagent is also run as a service, care must be taken to make sure that Osagent starts up before Gatekeeper.
6. When the machine is restarted, one can check the status of Gatekeeper run as service by using osfind command, or using "netstat -a" command to see the states of the ports that Gatekeeper listens on (by default, IIOP port - 683, and HIOP port - 8088).
#VisiBroker
#gatekeeper
#Service
#Security




