Bug 1072228

Summary: [QE] (6.2.2) standalone.sh fails to start server with debug argument on solaris 10 hosts
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: Scripts and CommandsAssignee: jboss-set
Status: CLOSED WONTFIX QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.2CC: brian.stansberry, fnasser, pgier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1064763 Environment:
Last Closed: 2014-07-09 11:05:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1063289, 1064763    
Bug Blocks:    

Description Petr Kremensky 2014-03-04 07:04:41 UTC
+++ This bug was initially created as a clone of Bug #1064763 +++

Description of problem:
 I am unable to start standalone server with --debug [PORT] argument on Solaris 10 hosts. 

SunOS 5.10 Generic_142910-17 i86pc i386 i86pc
[user@host bin]$ ./standalone.sh --debug
./standalone.sh: cannot shift
[user@host bin]$ ./standalone.sh --debug 8787
./standalone.sh: bad substitution

SunOS 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T1000
[user@host bin]$ ./standalone.sh --debug
./standalone.sh: cannot shift
[user@host bin]$ ./standalone.sh --debug 8787
./standalone.sh: bad substitution

Version-Release number of selected component (if applicable):
 EAP 6.3.0.DR0

How reproducible:
 Always

Steps to Reproduce:
 1. Navigate to $JBOSS_HOME/bin and run: ./standalone.sh --debug [PORT]

Actual results:
 Server fails to start

Expected results:
 Server will start with debugger attached to $PORT (8787 if no $PORT)

--- Additional comment from Permaine Cheung on 2014-02-13 08:50:05 EST ---

Brian, please investigate. Thanks!

Comment 1 Permaine Cheung 2014-03-04 19:30:50 UTC
Brian, please submit the fix for 1064763 to 6.2.x when you have it ready. Thanks!

Comment 2 Petr Kremensky 2014-07-09 11:05:08 UTC
This issue is reported against a version which is no longer maintained, which means that it will not receive a fix. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Enterprise Application Platform please feel free to open a bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.