[jboss-jira] [JBoss JIRA] Commented: (JBAS-5225) status function must return non-zero when jbossas is not running
Brenton Leanhardt (JIRA)
jira-events at lists.jboss.org
Wed Jul 2 12:33:46 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5225?page=comments#action_12419657 ]
Brenton Leanhardt commented on JBAS-5225:
-----------------------------------------
This would be implemented in the service script (ie, /etc/init.d/jbossas on Linux). Whatever logic in done in in the script to return the status needs to return 0 if it's running or non-zero if it's not running.
> status function must return non-zero when jbossas is not running
> ----------------------------------------------------------------
>
> Key: JBAS-5225
> URL: http://jira.jboss.com/jira/browse/JBAS-5225
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: System service
> Affects Versions: JBossAS-4.2.2.GA
> Environment: OS: RHEL5 U1
> RPM: jbossas-4.3.0-1.ep1.8
> Reporter: Brenton Leanhardt
> Assigned To: Dimitris Andreadis
> Priority: Trivial
>
> I surveyed a few traditional unix services' status function and all returned either 1 or 3 when the service was not running. While this is extremely trivial it's a great help for high level tooling that deals with heterogeneous environments (I noticed this when Puppet was not able to detect if jbossas was running or not).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list