[jboss-jira] [JBoss JIRA] Created: (JBAS-6916) Remove hardcoded call to Runtime.exit in JMXKernel

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed May 13 18:19:46 EDT 2009


Remove hardcoded call to Runtime.exit in JMXKernel
--------------------------------------------------

                 Key: JBAS-6916
                 URL: https://jira.jboss.org/jira/browse/JBAS-6916
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: JMX
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger


Legacy implementation of bootstrap would manually exit the VM upon server shutdown as a default.  With the new bootstrap implmentation, VM-specific stuff is left out of scope.

Because non-daemon Threads are left running in the VM after server shutdown, the VM does not cleanly exit without some help.  Therefore JMXKernel.shutdown has a Runtime.exit() directly in it.

This block in the JMXKernel must be removed after server shutdown leaves no non-daemon Threads running.

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