Index

wrapper.java.idfile

Compatibility :3.2.0
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM 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 current Java id to. This property is not set by default.

This property has no use for most applications. It can be useful to external applications which need to monitor the Java process's state however.

If this property is set, a file containing the latest id of the Java process will be written to the specified location when the first Java process is launched. The id will be incremented by one each time the JVM is restarted. The first invocation will be 1. This is the same value returned by WrapperManager.getJVMId() or displayed in the log file. The file will be deleted when the Wrapper process has terminated.

Example:
wrapper.java.idfile=./myapp.java.id

NOTE

The Wrapper needs to be able to open and then write to this file whenever its status is changed. The Wrapper does include code which allows for the file being briefly locked by an external process. However, the Wrapper will fail with a warning in the log if the file remains locked for more that 1 second. This will not affect the operation of the Wrapper.

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.idfile.group

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

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

Example:
wrapper.java.idfile.group=jenkins

wrapper.java.idfile.umask

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

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

Example:
wrapper.java.idfile.umask=0022

Reference: PID, ID, Status file