[jboss-jira] [JBoss JIRA] Created: (JBAS-5745) ServerMBean.InShutdown flag won't turn on when the shutdown hook is called directly

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Wed Jul 9 07:25:26 EDT 2008


ServerMBean.InShutdown flag won't turn on when the shutdown hook is called directly
-----------------------------------------------------------------------------------

                 Key: JBAS-5745
                 URL: http://jira.jboss.com/jira/browse/JBAS-5745
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: System service
    Affects Versions: JBossAS-5.0.0.CR1, JBossAS-5.0.0.Beta4,  JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA, JBossAS-4.2.1.GA, JBossAS-4.2.0.GA, JBossAS-5.0.0.Beta2, JBossAS-5.0.0.Beta1, JBossAS-4.0.5.GA, JBossAS-4.0.4.GA
            Reporter: Takayoshi Kimura
         Assigned To: Dimitris Andreadis


The ServerMBean.InShutdown flag is only turned on when the shutdown() operation is called. There is another shutdown path, a shutdown hook called by signals including Ctrl+c. This flag is needed to update in the shutdownHook.shutdown() method to reflect the sever status.

-- 
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