On some installations, the wrapper.java.command property may point to a script or an executable that will redirect to a different process, the one actually running your application.
This is the case, for example, when the Java command points to C:\Program Files\Common Files\Oracle\Java\javapath\java.
To detect when this is happening, the Wrapper will compare the PID of the Java process just after it started and the PID of the proccess that it launched. If they differ, a warning will be printed.
On Windows, the Wrapper will automatically switch to monitoring the Java process instead of the process launched to ensure a proper functionning. If the Java PID file is used, the file will be updated with the new PID.
The output should look like this:
This behavior can be configured with the following properties: