Description of problem: "jboss-cli.sh" could not be found in jbosseap-6.0 gear, but online devenv could. Version-Release number of selected component (if applicable): 1.2/2013-08-22.2 puddle How reproducible: always Steps to Reproduce: 1.create a jbosseap-6.0 app 2.login to gear, run the following command: > jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSEAP_IP:9999 Actual results: bash: jboss-cli.sh: command not found Expected results: "jboss-cli.sh" shoud be found, and executed successfully. Additional info: online: > jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSEAP_IP:9999 [standalone.251.1:9999 /] > which jboss-cli.sh /var/lib/openshift/52173b6ee6498c096b000001/jbosseap/bin/tools/jboss-cli.sh
For OSE 1.2 you can use the following: /usr/share/jbossas/bin/jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSEAP_IP:9999 The jboss-cli.sh helper script also exports JAVA_OPTS="-Djboss.management.client_socket_bind_address=$OPENSHIFT_JBOSSEAP_IP", since the jboss cli tries to bind to a localhost port by default and that is blocked by SELinux policy in Online (but not in Enterprise). That said, we will inherit the jboss-cli.sh helper script with the 2.0 rebase.