Windows Service Configuration
This appendix describes the file settings required when registering a Windows service.
The following is an example of a Windows service registration file where the service name is 'jeus' (the file name is specified according to the service name).
[jeus]
jeus.home=C:\TmaxSoft\JEUS9
jeus.description=JEUS9 Windows service
java.home=C:\Java\jdk-17
java.vm.type=hotspot
java.vm.option=-server
jeus.nm.classpath= C:\TmaxSoft\JEUS9\lib\system\bootstrap.jar;
C:\TmaxSoft\JEUS9\lib\system\jakarta.activation.jar;
C:\TmaxSoft\JEUS9\lib\system\jeusapi.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-core-common.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-util-common.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-logger.jar;
C:\TmaxSoft\JEUS9\lib\system\utilities.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus.jar;
C:\TmaxSoft\JEUS9\lib\system\jeusjaxb.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-network.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-launcher.jar;
C:\TmaxSoft\JEUS9\lib\system\stax2-api-4.2.1.jar;
C:\TmaxSoft\JEUS9\lib\system\commons-cli.jar;
C:\TmaxSoft\JEUS9\lib\system\tmaxjce_jdk15x.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-security.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-management.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-config.jar;
C:\TmaxSoft\JEUS9\lib\system\jaxb-core.jar;
C:\TmaxSoft\JEUS9\lib\system\jaxb-impl.jar;
C:\TmaxSoft\JEUS9\lib\system\jaxb-plugins-runtime-3.0.0.jar;
C:\TmaxSoft\JEUS9\lib\system\jeus-util.jar;
C:\TmaxSoft\JEUS9\lib\system\jmxremote.jar;
C:\TmaxSoft\JEUS9\lib\system\jmx-description.jar;
C:\TmaxSoft\JEUS9\lib\system\alpn-api-1.1.3.v20160715.jar;
C:\TmaxSoft\JEUS9\lib\system\jakarta.xml.bind-api-3.0.1.jar;
C:\TmaxSoft\JEUS9\lib\system\jakarta.servlet-api.jar;
C:\TmaxSoft\JEUS9\lib\system\jakarta.jms-api.jar;
C:\TmaxSoft\JEUS9\lib\system\jakarta.servlet.jsp-api.jar
jeus.nm.boot.param=-domain jeus_domain -server adminServer
jeus.nm.down.param=-stopServer
jeus.windows.service.log.path=C:\TmaxSoft\JEUS9\logs
shutdown.previous.nodemanager=true
-Xmx1024m
The following is a description of the main settings in domain-config-template.properties.
| 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 |
Specifies one of the following options depending on whether the Java HotSpot JVM is used:
|
java.vm.option |
Specifies one of the following options depending on whether the Java HotSpot JVM is used:
|
jeus.nm.classpath |
Classpath path required when booting the node manager. |
jeus.nm.boot.param |
Specifies additional options used when booting the node manager with the Windows service startup. Currently, you can configure a DAS server to launch simultaneously with the Windows service startup. The domain name and server name must be set together. If no other settings are configured, only the node manager will be launched. (Example: -domain jeus_domain -server adminServer) |
jeus.nm.down.param |
Specifies additional options used when terminating a Windows service. Currently, you can set an option to terminate JEUS along with the Windows service (e.g., -stopServer). |
jeus.windows.service.log.path |
Path of the Windows service log. |
shutdown.previous.nodemanager |
Specifies whether to terminate the currently running JEUS instance before starting the Windows service.
|