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

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

      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"

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

              Created:
              Updated:
              Resolved: