This document describes the file configurations required for registering a Windows service.
The following is an example of a Windows service registration file for a service named 'jeus' (file is named using the service name).
[Example C.1] <<jeus.ini>>
[jeus] jeus.home=C:\TmaxSoft\JEUS8 jeus.description=JEUS8 Windows service java.home=C:\Java\jdk1.7.0_21 java.vm.type=hotspot java.vm.option=-server jeus.nm.classpath=C:\TmaxSoft\JEUS8\lib\system\jeus-nodemanager.jar; C:\TmaxSoft\JEUS8\lib\system\jeusapi.jar; C:\TmaxSoft\JEUS8\lib\system\jeusutil.jar; C:\TmaxSoft\JEUS8\lib\system\jeus-network.jar; C:\TmaxSoft\JEUS8\lib\system\jmxremote.jar; C:\TmaxSoft\JEUS8\lib\system\jeusjaxb.jar; C:\TmaxSoft\JEUS8\lib\system\jmx-description.jar; C:\TmaxSoft\JEUS8\lib\system\javaee.jar; C:\TmaxSoft\JEUS8\lib\system\tmaxjce_jdk15x.jar; C:\TmaxSoft\JEUS8\lib\system\commons-cli.jar jeus.nm.boot.param=-domain jeus_domain -server adminServer jeus.nm.down.param=-stopServer shutdown.previous.nodemanager=true -Xmx1024m
The following describes each configuration item.
Item | Description |
---|---|
jeus.home | Directory path where JEUS is installed. |
jeus.description | Description of the Windows service. |
java.home | Directory path where Java is installed. |
java.vm.type | Option to use the Java HotSpot JVM. Options are:
|
java.vm.option | Options for using the Java HotSpot JVM. Options are:
|
jeus.nm.classpath | Classpath required when starting the node manager. |
jeus.nm.boot.param | Additional options required when node manager starts along with a Windows service. Currently, JEUS can be configured to start DAS when a Windows service starts. Domain and server names can also be configured. e.g., -domain jeus_domain -server adminServer
If not set, only the node manager will start.
|
jeus.nm.down.param | Additional options required when a Windows service terminates. Currently, JEUS can be configured to terminate when the Windows service terminates. e.g., -stopServer |
shutdown.previous.nodemanager | Option to terminate an already running JEUS before starting a Windows service. If set to false, a Windows service cannot start while JEUS is running. |