+++ This bug was initially created as a clone of Bug #1063289 +++ Description of problem: Standalone server start script is handling --debug argument in wrong manner. Port 8787 should be used by default, but it isn't. Version-Release number of selected component (if applicable): EAP 6.2.0 How reproducible: Always Steps to Reproduce: 1. Navigate into $EAP_HOME/bin directory. 2. Run: standalone.[sh|bat] --debug Actual results: - shell script Server fail to with following error: ERROR [stderr] (main) JBAS015801: Invalid option '' - batch script random empty port is used Expected results: Server will start with debugger attached to 8787 port. Additional info: Workaround: always specify the port number. --- Additional comment from Permaine Cheung on 2014-02-10 09:12:30 EST --- Brian, please look into this. Thanks! --- Additional comment from Jeff Mesnil on 2014-02-24 04:13:17 EST --- PR for upstream branch https://github.com/wildfly/wildfly/pull/5948 --- Additional comment from Jeff Mesnil on 2014-02-25 03:11:24 EST --- PR for jboss-eap 6.x https://github.com/jbossas/jboss-eap/pull/970
Jeff, can you please submit a PR for 6.2.x? Thanks!
This is working only on RHEL. ./standalone --debug HP-UX: ./standalone.sh[28]: shift: bad number Solaris10: ./standalone.sh: cannot shift Solaris11: ./standalone.sh[28]: shift: (null): bad number Windows2k8: server starts, but default port 8787 is not used (java opts passed by script: ...-agentlib:jdwp=transport=dt_socket,address=""...)
No changes since 6.2.3. standalone.[bat|sh] scripts are identical to previous version.