Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2306

Adding -b ${JBOSS_BIND_ADDR[i] in the HP-UX init script (jboss_init_hpux.sh)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • TBD
    • 4.3.0.GA_CP04, 4.2.0.GA_CP07, EAP 5.0.0.CR4 (FCS and BETA2)
    • Other
    • None
    • Release Notes

      In the RHEL version of this script, the -b option is supported.
      Is it possible to have the HP one modified for the future?

      Here is the little change required:
      CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]} -b ${JBOSS_BIND_ADDR[i]}"
      instead of just
      CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]}"
      Thanks to confirm if it is ok and if next CP will have it.
      ------------------------------------------------------------------------------------------------------------
      Potentially, more complete solution
      ------------------------------------------------------------------------------------------------------------
      if [ "x${JBOSS_BIND_ADDR[i]}" = "x" ]; then
      CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]} "
      START_MESSAGE=""
      else
      CMD_START="${JBOSS_HOME[i]}/bin/run.sh -c ${SERVER_NAME[i]} -b ${JBOSS_BIND_ADDR[i]}"
      START_MESSAGE=" on the ${JBOSS_BIND_ADDR[i]} interface"
      fi
      nohup su - ${JBOSS_USER[i]} -c "sh $CMD_START" >${JBOSS_CONSOLE[i]} 2>&1 &
      echo "Starting JBoss AS for user ${JBOSS_USER[i]} at ${JBOSS_HOME[i]} with instance ${SERVER_NAME[i]}${START_MESSAGE}."

              rachmato@redhat.com Richard Achmatowicz
              skoussou Stelios Koussouris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: