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

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.3.0.GA_CP04, 4.2.0.GA_CP07, EAP 5.0.0.CR4 (FCS and BETA2)
    • Fix Version/s: TBD
    • Component/s: Other
    • Labels:
      None
    • Affects:
      Release Notes

      Description

      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}."

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rachmato Richard Achmatowicz
                  Reporter:
                  skoussou Stelios Koussouris
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: