[jboss-jira] [JBoss JIRA] (WFCORE-717) standalone.sh duplicates some options in JAVA_OPTS
Frank Langelage (JIRA)
issues at jboss.org
Sat May 30 12:10:02 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072535#comment-13072535 ]
Frank Langelage commented on WFCORE-717:
----------------------------------------
https://github.com/wildfly/wildfly-core/pull/768
> standalone.sh duplicates some options in JAVA_OPTS
> --------------------------------------------------
>
> Key: WFCORE-717
> URL: https://issues.jboss.org/browse/WFCORE-717
> Project: WildFly Core
> Issue Type: Bug
> Components: Scripts
> Affects Versions: 2.0.0.Alpha2
> Reporter: Marek Kopecký
> Assignee: Tomaz Cerar
>
> *Description of problem:*
> standalone.sh duplicates some options in JAVA_OPTS.
> *Steps to Reproduce:*
> # ./standalone.sh
> *Actual results:*
> ...
> JAVA_OPTS: -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms64m ...
> ...
> *Expected results:*
> ...
> JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m ...
> ...
> *Additional info:*
> Option "-server" is set here:
> {code:bash}
> if [ "$PRESERVE_JAVA_OPTS" != "true" ]; then
> PREPEND_JAVA_OPTS="$PREPEND_JAVA_OPTS -server"
> ...
> JAVA_OPTS="$PREPEND_JAVA_OPTS $JAVA_OPTS"
> fi
> {code}
> This part of code is in standalone.sh twice.
> Possible solutions:
> * Remove first repetition of {{if [ "$PRESERVE_JAVA_OPTS" != "true" ]; then ....... fi}} (like EAP 6)
> * Add {{PREPEND_JAVA_OPTS=""}} after {{JAVA_OPTS="$PREPEND_JAVA_OPTS $JAVA_OPTS"}} in first repetition of {{if [ "$PRESERVE_JAVA_OPTS" != "true" ]; then ....... fi}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list