[jboss-jira] [JBoss JIRA] Created: (JBAS-7656) jboss_init_redhat.sh needs to be more robust

Henrik Aronsen (JIRA) jira-events at lists.jboss.org
Tue Jan 26 13:24:20 EST 2010


jboss_init_redhat.sh needs to be more robust
--------------------------------------------

                 Key: JBAS-7656
                 URL: https://jira.jboss.org/jira/browse/JBAS-7656
             Project: JBoss Application Server
          Issue Type: Patch
      Security Level: Public (Everyone can see)
          Components: Other
            Reporter: Henrik Aronsen
             Fix For: JBossAS-6.0.0.M2, JBossAS-6.0.0.M3, JBossAS-6.0.0.CR1,  JBossAS-6.0.0.GA


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

The init script is currently maintained at http://code.google.com/p/jboss-rpm/source/browse/#svn/trunk/src/main/etc

(This issue was copied from JBPAPP-3194 as suggested by Fernando Nasser)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list