Description of problem:jboss-cli.sh should be added to the cartridge and installed in the gear in the gear's bin dir with the proper classpath so can be executed by the user. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create AS/EAP instance 2. 3. Actual results: jboss-cli.sh missing Expected results: jboss-cli.sh available Additional info:
The jboss-cli.sh script is now packaged, supported, and documented by the jboss-* cartridges as of https://github.com/openshift/origin-server/pull/3038. See the cartridge README.md files for details.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/5f6dc4c4236b8892ae8849a40c73ad41bcd430ac Bug 980487: Add jboss-cli.sh to the jboss* cartridges
Checked on devenv_3482 for both jbossas and jbosseap, 1. PATH for jboss-cli.sh will be added. > env|grep tools OPENSHIFT_JBOSSEAP_PATH_ELEMENT=/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/51de67e736ff800a0000000f/jbosseap//bin/tools PATH=/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/51de67e736ff800a0000000f/jbosseap//bin/tools:/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/51de67e736ff800a0000000f/jbosseap//bin/tools::/bin:/usr/bin:/usr/sbin [jbeap1-bmeng.dev.rhcloud.com 51de67e736ff800a0000000f]\> jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSEAP_IP:9999 > env|grep tool PATH=/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/23783c5ce9fd11e29af122000a8a0ade/jbossas//bin/tools:/var/lib/openshift/23783c5ce9fd11e29af122000a8a0ade/haproxy/usr/bin:/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/23783c5ce9fd11e29af122000a8a0ade/jbossas//bin/tools::/bin:/usr/bin:/usr/sbin OPENSHIFT_JBOSSAS_PATH_ELEMENT=/etc/alternatives/java_sdk_1.7.0/bin:/etc/alternatives/maven-3.0/bin:/var/lib/openshift/23783c5ce9fd11e29af122000a8a0ade/jbossas//bin/tools 2. jboss-cli.sh can connect to the jboss instance. > jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSAS_IP:9999 [standalone.252.129:9999 /] > jboss-cli.sh -c --controller=$OPENSHIFT_JBOSSEAP_IP:9999 [standalone.254.1:9999 /]