Index

wrapper.java.pidfile

Compatibility :3.0.5
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

WARNING

DO NOT modify any of these parameters unless you have read this property description. Incorrect settings can cause the Wrapper to fail to operate as expected.

File to write the Java process ID to. This property is not set by default.

If this property is set, a file containing the pid of the Java process will be written to the specified location when the process is launched. The file will be deleted when the Java process has terminated. Each time the Wrapper restarts the JVM, the file will be updated with the current Java pid.

Common values are ./myapp.java.pid or /var/run/myapp.java.pid.

Example:
wrapper.java.pidfile=./myapp.java.pid

NOTE

If a second instance of the Wrapper is started, the pid file of the first instance will be overwritten by the second instance. This is done to avoid problems with stale pid files preventing the Wrapper and its jvm from starting.

NOTE

Changes to the value of this property will not have any affect on the Wrapper if the configuration is reloaded. The Wrapper must be restarted for changes to take effect.

wrapper.java.pidfile.group

Compatibility :3.5.38
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :Windows (Not Supported)Mac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

You can set "group" for this file. See the wrapper.*.group property.

Example:
wrapper.java.pidfile.group=jenkins

wrapper.java.pidfile.umask

Compatibility :3.2.0
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

You can set "umask" on this file. See the wrapper.*.umask property.

Example:
wrapper.java.pidfile.umask=0022

Reference: PID, ID, Status file