World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.java.pidfile Property

Index

wrapper.java.pidfile

Compatibilidad :3.0.5
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

ADVERTENCIA

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

NOTA

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.

NOTA

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

Compatibilidad :3.5.38
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :Windows (No Soportado)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

Compatibilidad :3.2.0
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :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

Referencia: Archivos PID, ID y de Estatus