Please or
Try NowBuy Now

Locations of visitors to this page

SourceForge.net

SourceForge.JP

wrapper.java.pidfile Property
wrapper.java.pidfile Property

Configuration Property Overview

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

Reloading the configuration will NOT enable to take effect on the value of this property. The Wrapper is required to restart in order to make the changes effective.

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.

Reference: PID, ID, Status file





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
by Nenad Noveljic (2006/05/29 22:54:21 JST from 198.240.212.26)
Gravatar

I have installed wrapper 3.2.0 on Solaris. The file wrapper.java.pidfile containts the pid of the wrapper process itself instead of the started Java process.

Java Service Wrapper Version: 3.5.4