[jboss-jira] [JBoss JIRA] (AS7-1582) Debug configuration in domain.sh is incorrect

Brian Stansberry (Resolved) (JIRA) jira-events at lists.jboss.org
Wed Oct 5 16:57:16 EDT 2011


     [ https://issues.jboss.org/browse/AS7-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved AS7-1582.
-----------------------------------

    Fix Version/s: 7.1.0.Beta1
                       (was: 7.1.0.CR1)
       Resolution: Duplicate Issue

    
> Debug configuration in domain.sh is incorrect
> ---------------------------------------------
>
>                 Key: AS7-1582
>                 URL: https://issues.jboss.org/browse/AS7-1582
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.0.0.Final, 7.0.1.Final
>            Reporter: Brian Stansberry
>             Fix For: 7.1.0.Beta1
>
>
> The domain.conf file adds debug configuration to $JAVA_OPTS. That's incorrect, as it results in the same debug config being applied to the ProcessController and HostController processes, leading to port conflicts. A launch command something like this might work:
>  eval \"$JAVA\" $JAVA_OPTS \
>          \"-Dorg.jboss.boot.log.file=$JBOSS_HOME/domain/log/process-controller/boot.log\" \
>          \"-Dlogging.configuration=file:$JBOSS_HOME/domain/configuration/logging.properties\" \
>          $PROCESS_CONTROLLER_DEBUG_OPTS \
>          -jar \"$JBOSS_HOME/jboss-modules.jar\" \
>          -mp \"$JBOSS_HOME/modules\" \
>          -logmodule "org.jboss.logmanager" \
>          org.jboss.as.process-controller \
>          -jboss-home \"$JBOSS_HOME\" \
>          -jvm \"$JAVA\" \
>          -- \
>          \"-Dorg.jboss.boot.log.file=$JBOSS_HOME/domain/log/host-controller/boot.log\" \
>          \"-Dlogging.configuration=file:$JBOSS_HOME/domain/configuration/logging.properties\" \
>          $HOST_CONTROLLER_DEBUG_OPTS \
>          $JAVA_OPTS \
>          -- \
>          -default-jvm \"$JAVA\" \
>          "$@"
> $PROCESS_CONTROLLER_DEBUG_OPTS and $HOST_CONTROLLER_DEBUG_OPTS would be new variables set in domain.conf.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list