Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5489

JBOSSSH and JBOSS_CMD_START confused in jboss_init_redhat.sh

    XMLWordPrintable

Details

    • Patch
    • Resolution: Obsolete
    • Minor
    • No Release
    • JBossAS-4.2.2.GA
    • System service
    • None

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              mojoboss Maciek Olczak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: