Description of problem: This functionality was committed upstream as part of https://github.com/openshift/origin-server/pull/2809. This is needed so that JON can group gears running within the same application.
The upstream commit: commit c073c4ab4d9786e60d8a360732c1aed4569b1230 Author: William DeCoste <bdecoste> Date: Tue Jun 11 03:48:20 2013 -0700 add APP_UUID to process
verify this on puddle 1.2/2013-07-22.2 After creating jbosseap-6.0/jbossews-1.0/jbossews-2.0 app, ssh into apps, check the java process of the gears. jbossews-1.0 app: 524 26479 26357 0 23:19 ? 00:00:03 /etc/alternatives/java_sdk_1.7.0/bin/java -Xmx256m -XX:MaxPermSize=102m -XX:+AggressiveOpts -DOPENSHIFT_APP_UUID=51ee207fa4212433080000e4 -Djava.. jbossews-2.0 app: 522 20729 20607 0 23:09 ? 00:00:06 /etc/alternatives/java_sdk_1.7.0/bin/java -Xmx256m -XX:MaxPermSize=102m -XX:+AggressiveOpts -DOPENSHIFT_APP_UUID=51ee1df1a4212433080000cf -Djava...... jbosseap-6.0 app: 526 12171 11999 24 23:40 ? 00:00:10 /usr/lib/jvm/jre-1.7.0/bin/java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xmx256m -XX:MaxPermSize=102m -XX:+AggressiveOpts -Dorg.apache.tomcat.util.LOW_MEMORY=true -DOPENSHIFT_APP_UUID=51ee2569a421243e8a000274 -Dorg.jboss.resolver.warning=true...
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1138.html