[jboss-jira] [JBoss JIRA] Commented: (JBAS-5636) Stop HTTP/AJP connectors on Server.STOP_NOTIFICATION_TYPE

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Tue Jul 8 09:12:26 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5636?page=comments#action_12420306 ] 
            
Remy Maucherat commented on JBAS-5636:
--------------------------------------

The shutdown has been improved (however, java.io connectors are stuck blocking on their IO calls, which make them more difficult to manage). I was planning to use the InShutdown flag to get something clean, but for some reason the value is not as expected.

      // Hot undeploy
      Boolean inShutdown = (Boolean)server.getAttribute(ServerImplMBean.OBJECT_NAME, "InShutdown");
      if (inShutdown.booleanValue() == false)
      {
         log.debug("Server '" + ServerImplMBean.OBJECT_NAME +
               "' already started, stopping connectors now");

         stopConnectors();
      }


> Stop HTTP/AJP connectors on Server.STOP_NOTIFICATION_TYPE
> ---------------------------------------------------------
>
>                 Key: JBAS-5636
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5636
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-5.0.0.Beta4, JBossAS-4.2.2.GA
>            Reporter: Takayoshi Kimura
>         Assigned To: Remy Maucherat
>
> In JBoss startup process, JBoss starts HTTP/AJP connectors when Server.START_NOTIFICATION_TYPE received, so all applications are available when a time the connectors are started.
> This feature has not been implemented for shutdown.
> In JBoss shutdown, JBoss undeploys web applications before stopping the connectors. In this case applications are not available in some timeframe during the undeployment, and clients may receive 503 or 404 errors. We can ensure applications availablity in a same manner as startup, by Server.STOP_NOTIFICATION_TYPE.

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