Agent Startup by Using a Windows Service

Start Agent by using a Windows service.

(1) Setting of the environment variables

a) Set the environment variables for Java in Windows.

  • In the case of JRE: Specify 'JRE_HOME' for the field.

  • In the case of JDK: Specify 'JAVA_HOME' for the field.

If you do not set the environment variable, the OS registry set during the Java installation will be referenced.

For details on how to set the environment variables, refer to the relevant manual of OS.

(2) Registration of a Windows service

a) Start the command prompt, and then move to the following directory:

{Agent installation folder}/bin

b) Register the service by using the following command (batch file):

> service install [Service Name] 
Installing the service '[Service Name]' ... 
Using JRE_HOME:         "C:\Program Files\Java\jre8" 
Using JVM:              "C:\Program Files\Java\jre8\bin\server\jvm.dll" 
"Install HULFT-WebConnect Agent Service..." 
The service '[Service Name]' has been installed.

If the result above is output, the process was successful.

If you do not specify a service name, the service is registered as following information:

  • Service name: webconnect-agent

  • Alias: HULFT-WebConnect Agent

For details on the command, refer to Command Reference.

(3) Startup of the service

Startup from services in the Control Panel

a) Display the Services dialog box.

  • Select [Start] > [Control Panel] > [System and Security] > [Administrative Tools] > [Services] to display the Services dialog box.

b) Perform either of the following actions:

  • Click the registered service name, and then click [Start] on the Action menu.

  • Right-click the service name, and then click [Start] from the pop-up menu.

Startup by using a command

a) Start the command prompt.

b) Execute the following command:

> net start [Service Name] 
HULFT-WebConnect Agent service is starting. 
HULFT-WebConnect Agent service was started successfully.

If the result above is output, the process was successful.