1 Reply Latest reply on Mar 5, 2009 6:14 PM by Mohit Anchlia

    Why does Jboss cleanly/gracefully shuts down

    Mohit Anchlia Novice

      We have apache server that talks over mod_jk to Jboss. When we shutdown Jboss we see 503 from Jboss as listed below.

      It looks like Jboss accepts new connection when
      it already undeployed the service. Is there something that I need to configure or do in Jboss so that it first stops taking new requests and then undeploys the service.

      I see the following of http code 503 on web server that came from Jboss:

      JBossWeb/2.0.0.GA_CP01 - Error
      report<!--H1
      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
      H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
      H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
      BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
      B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
      P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
      {color : black;}A.name {color : black;}HR {color :
      #525D76;}--> <h1>HTTP Status 503 - This
      application is not currently available</h1>type Status reportmessage
      This application is not currently
      availabledescription The requested service (This
      application is not currently available) is not currently
      available.<h3>JBossWeb/2.0.0.GA_CP01</h3>

        • 1. Re: Why does Jboss cleanly/gracefully shuts down
          Mohit Anchlia Novice

          REPOSTING IT with CODE TAGS:
          We have apache server that talks over mod_jk to Jboss. When we shutdown Jboss we see 503 from Jboss as listed below.

          It looks like Jboss accepts new connection when
          it already undeployed the service. Is there something that I need to configure or do in Jboss so that it first stops taking new requests and then undeploys the service.

          I see the following of http code 503 on web server that came from Jboss:



          <html><head><title>JBossWeb/2.0.0.GA_CP01 - Error
          report</title><style><!--H1
          {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
          H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
          H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
          BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
          B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
          P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
          {color : black;}A.name {color : black;}HR {color :
          #525D76;}--></style> </head><body><h1>HTTP Status 503 - This
          application is not currently available</h1><HR size="1"
          noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
          <u>This application is not currently
          available</u></p><p><b>description</b> <u>The requested service (This
          application is not currently available) is not currently
          available.</u></p><HR size="1"
          noshade="noshade"><h3>JBossWeb/2.0.0.GA_CP01</h3></body></html>