Troubleshoot the Release Service
This topic describes how to troubleshoot the Release service.
Release service does not start
If the Release service does not start, increase the startup timeout by performing the following steps:
-
Stop the service.
Operating system Shortcut Microsoft Windows Ctrl + c Unix-based systems Ctrl + c -
Add a timeout value.
- Unix-based systems: Go to
XL_RELEASE_SERVER_HOME/conf/xlr-wrapper-linux.conf
and add the following line:wrapper.startup.timeout=<timeout>
- Microsoft Windows: Go to
XL_RELEASE_SERVER_HOME\conf\xlr-wrapper-win.conf
and add the following line:wrapper.startup.timeout=<timeout>
Where<timeout>
is the startup timeout in seconds.
- Unix-based systems: Go to
-
Save the file.
-
Start the service:
- Microsoft Windows: Open a terminal, navigate to
XL_RELEASE_SERVER_HOME/bin
, and executerun.cmd
. - Unix-based systems: Open a terminal, navigate to
XL_RELEASE_SERVER_HOME/bin
and executerun.sh
.
- Microsoft Windows: Open a terminal, navigate to
Release service occasionally fails to start or stop
The Release service may occasionally fail to stop after a stop command is issued, or start after a start command is issued (as shown in the server log). If these situations occur:
-
Stop the service:
Operating system Shortcut Microsoft Windows Ctrl + c Unix-based systems Ctrl + c -
In the
XL_RELEASE_SERVER_HOME/conf/xlr-wrapper-linux.conf
file, add the following line:wrapper.fork_hack = true
-
Save the file.
-
Start the service:
- Microsoft Windows: Open a terminal, navigate to
XL_RELEASE_SERVER_HOME/bin
, and executerun.cmd
. - Unix-based systems: Open a terminal, navigate to
XL_RELEASE_SERVER_HOME/bin
, and executerun.sh
.
- Microsoft Windows: Open a terminal, navigate to
Release is occasionally killed by service wrapper
If Release suddenly stops working, inspect the service wrapper logs. The service wrapper process may have killed the Release instance JVM because it did not respond within the configured time period. The configuration option that defines this period is wrapper.ping.timeout
and the default time is 30
seconds.
If the JVM heap is large, it may cause a long garbage collection pause when Release is under load. If this occurs, increase the ping timeout to 60
or 120
seconds. You can configure the service wrapper options via XL_RELEASE_SERVER_HOME/conf/xlr-wrapper-linux.conf
(on Unix-based systems) or XL_RELEASE_SERVER_HOME\conf\xlr-wrapper-win.conf
(on Microsoft Windows) files.
For more information on the service wrapper, see the Java Service Wrapper documentation.
Reinstall the Release Service
To reinstall Release as a service from your system:
-
Open a terminal.
-
Run the following commands:
Operating system Shortcut Microsoft Windows XL_RELEASE_SERVER_HOME\bin\install-service.cmd
Unix-based systems XL_RELEASE_SERVER_HOME/bin/install-service.sh
Uninstall the Release Service
To remove an installed Release service from your system:
-
Open a terminal.
-
Run the following commands:
Operating system Shortcut Microsoft Windows XL_RELEASE_SERVER_HOME\bin\uninstall-service.cmd
Unix-based systems XL_RELEASE_SERVER_HOME/bin/uninstall-service.sh