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

jboss_init_solaris.sh does not support starting multiple configurations

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP 5.0.1
    • Scripts and Commands
    • None
    • When checking if the instance is running on Solaris, check for instance name as well.
    • Not Required

      jboss_init_solaris.sh simply checks whether a JBoss instance is running and complains if it already is, which means that you can't use it to start multiple instances properly.

      I haven't fully tested it out, but replacing

      if [ "x${isJBossRunningPid}" != "x" ]; then
      return 0
      fi

      with the following would be more reliable

      if [ "x${isJBossRunningPid}" != "x" ]; then
      args=`pargs -a ${JBossPid}`
      if [ "x${args}" == "x" ] || `echo ${args} | grep "-c ${instance}"`; then
      return 0
      fi
      fi

              rhn-engineering-mturk Mladen Turk
              rhn-support-jlivings James Livingston (Inactive)
              Eva Kopalova Eva Kopalova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: