[jboss-jira] [JBoss JIRA] Created: (JBAS-5489) JBOSSSH and JBOSS_CMD_START confused in jboss_init_redhat.sh

Maciek Olczak (JIRA) jira-events at lists.jboss.org
Mon Apr 28 02:35:13 EDT 2008


JBOSSSH and JBOSS_CMD_START confused in jboss_init_redhat.sh
------------------------------------------------------------

                 Key: JBAS-5489
                 URL: http://jira.jboss.com/jira/browse/JBAS-5489
             Project: JBoss Application Server
          Issue Type: Patch
      Security Level: Public (Everyone can see)
          Components: System service
    Affects Versions: JBossAS-4.2.2.GA
         Environment: RedHat, Linux in general
            Reporter: Maciek Olczak
         Assigned To: Dimitris Andreadis
            Priority: Minor


When jboss_init_redhat.sh is called with JBOSSSH set to a custom shell, additionally defined custom variables JBOSS_CONF and JBOSS_BIND_ADDR are being ignored.

I suggest that:

 JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}

is changed to:

 JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh}

and the proper start command variable (NOT shell variable) includes options. For example:

 JBOSS_CMD_START="cd $JBOSS_HOME/bin; $JBOSSSH -c $JBOSS_CONF $JBOSS_BIND_ADDR"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list