[jboss-jira] [JBoss JIRA] (WFLY-9539) wsconsume.sh does not support the -secmgr setting properly

R Searls (JIRA) issues at jboss.org
Thu Nov 9 09:04:00 EST 2017


    [ https://issues.jboss.org/browse/WFLY-9539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488149#comment-13488149 ] 

R Searls commented on WFLY-9539:
--------------------------------

The documentation for -segmgr states that setting env var SECMGR=true will set this flag.
scripts standalone.sh,  appclient.sh,  domain.sh, common.ps1, and appclient.sh 
all check for old value and present msg, 

{code:java}
 -Djava.security.manager)
          echo "ERROR: The use of -Djava.security.manager has been removed. Please use the -secmgr command line argument or SECMGR=true environment variable."
{code}

This utility should probably have the same check and report the same message. In
addition it should check for and use env var SECMGR.

> wsconsume.sh does not support the -secmgr setting properly
> ----------------------------------------------------------
>
>                 Key: WFLY-9539
>                 URL: https://issues.jboss.org/browse/WFLY-9539
>             Project: WildFly
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 10.0.0.Final
>            Reporter: R Searls
>            Assignee: Tomaz Cerar
>
> wsconsume.sh, and wsconsume.bat does not properly support the -secmgr flag in the
> generated command.  Changes to jboss-module.jar requires the -secmgr flag be positioned
> immediately after the  jboss-module.jar declaration.
> {code:java}
> eval \"$JAVA\" $JAVA_OPTS \
>     -classpath \""$JBOSS_CLASSPATH"\" \
>     org.jboss.modules.Main \
>     -secmgr \
>     -mp \""$JBOSS_HOME"/modules\" \
>     org.jboss.ws.tools.wsconsume \
>     '"$@"'
> {code}
> This value is pass to this utility via the JAVA_OPTS env variable.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list