openshift/origin-server — pull request #4322 by mfojtik (2013-12-11 20:16:43+00:00)
Title: Set the JBOSSAS_PIDFILE to JVM process pid

The JBossAS standalone.sh script use the 'JBOSS_PIDFILE' environment variable to store the PID of the JVM process. However in our control script we set the JBOSSAS_PIDFILE to the standalone.sh script PID, instead of the JVM pid.

See:
https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-jbossas/versions/7/bin/standalone.sh#L208