[
https://issues.jboss.org/browse/AS7-5627?page=com.atlassian.jira.plugin.s...
]
Cheng Fang updated AS7-5627:
----------------------------
Assignee: Cheng Fang
The following scripts are affected:
standalone.sh
domain.sh
appclient.sh
add-user.sh
wsconsume.sh
wsprovice.sh
They all use eval to execute java command, which boots JBoss Modules, passing along all
args.
standalone.sh, domain.sh, appclient.sh take -Dsysprop options, whose value may contain
special characters like white space. Currently these special chars will break the
script.
add-user.sh, wsconsume, wsprovide have options whose value can be a directory, which may
contain white space and other special characters. So their args need to be quoted twice
as well.
Scripts need to preserve arguments boundary
-------------------------------------------
Key: AS7-5627
URL:
https://issues.jboss.org/browse/AS7-5627
Project: Application Server 7
Issue Type: Bug
Components: Scripts
Affects Versions: 7.2.0.Alpha1
Reporter: Cheng Fang
Assignee: Cheng Fang
Priority: Critical
Fix For: 7.2.0.CR1
When certain args are passed to jboss module Main class, they lost their orginal
boundary, and jboss module can only tell one from another using space as the delimiter.
For example:
standalone.sh -Dtitle="Vice President"
{noformat}
23:37:10,229 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.3.GA
JBAS015801: Invalid option 'President'Usage: ./domain.sh [args...]
where args include:
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira