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

jboss_init_redhat.sh needs to be more robust

    XMLWordPrintable

Details

    • Patch
    • Resolution: Obsolete
    • Major
    • TBD EAP 5
    • 4.3.0.GA, EAP 5.0.0
    • Scripts and Commands
    • None
    • Linux, RHEL5

    • Not Required

    Description

      I have tried to address the shortcomings of the current JBoss init script for RHEL5:

      • Uses PID file
      • Supports chkconfig
      • Supports start, stop, force-stop, reload, force-reload, status
      • Supports custom user and password on shutdown
      • Supports custom jndi host/port on shutdown
      • Does not allow second instance to start when one is already running
      • Does not rely on other files such as run.sh and run.conf
      • Verifies successful startup
      • The init script does not have to be edited, use the standard location for configuration (/etc/default/jboss) instead
      • Runs out of the box when no configuration is provided
      • Should support most Linuces

      All feedback is welcome – I'm sure I forgot something in the provided script.

      Attachments

        1. etc_default_jboss
          1 kB
        2. etc_default_jboss
          1 kB
        3. etc_init.d_jboss
          5 kB
        4. etc_init.d_jboss
          5 kB
        5. etc_init.d_jboss
          5 kB
        6. etc_init.d_jboss
          5 kB
        7. etc_init.d_jboss
          4 kB
        8. jboss_init_redhat_custom.sh
          10 kB
        9. jboss-restart
          5 kB
        10. jboss-restart-20100727.sh
          5 kB

        Issue Links

          Activity

            People

              permaine Permaine Cheung
              henrik242_jira Henrik Aronsen (Inactive)
              Jared Morgan Jared Morgan (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: