[jboss-jira] [JBoss JIRA] Updated: (JBBOOT-105) JMX notification not sent until after shutdown is complete

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Fri Aug 7 00:11:42 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBBOOT-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Lee Rubinger updated JBBOOT-105:
---------------------------------------

          Component/s: impl-as
        Fix Version/s: impl-base-2.0.0-alpha-4
                       impl-as-2.0.0-alpha-4
    Affects Version/s: impl-as-2.0.0-alpha-3


Ah, so it's really a "preshutdown" event, poorly named.  

Evidence of old impl here: 

http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/tags/jboss-bootstrap-1.0.1/src/main/java/org/jboss/bootstrap/AbstractServerImpl.java @ "shutdownServer()"

This will also affect the corresponding Kernel event, which was also really a "pre-shutdown":

http://anonsvn.jboss.org/repos/jbossas/projects/bootstrap/tags/jboss-bootstrap-1.0.1/src/main/java/org/jboss/bootstrap/microcontainer/ServerImpl.java

> JMX notification not sent until after shutdown is complete
> ----------------------------------------------------------
>
>                 Key: JBBOOT-105
>                 URL: https://jira.jboss.org/jira/browse/JBBOOT-105
>             Project: JBoss Bootstrap
>          Issue Type: Bug
>          Components: impl-as, impl-base
>    Affects Versions: impl-base-2.0.0-alpha-3, impl-as-2.0.0-alpha-3
>            Reporter: Paul Ferraro
>            Assignee: Andrew Lee Rubinger
>             Fix For: impl-base-2.0.0-alpha-4, impl-as-2.0.0-alpha-4
>
>
> In bootstrap 1.0.x, and in the legacy implementation, the org.jboss.system.server.stopped JMX notification was sent prior to the shutdown of the server.  The AS TomcatService relies on this mechanism to stop its http/ajp connectors before stopping the service, along with any deployed web applications.
> In 2.0.0-alpha-3, however, this notification is not sent until after shutdown is complete.  Consequently, the http/ajp connectors are not getting stopped until after all web applications are undeployed.  It is now possible for a web request to reach the connectors before they are stopped, but after the requested web application was already undeployed, causing a 404 (page not found) error.

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