title: http status 408 in j_security_check using JBoss
body: <p>Currently I'm facing strange problem. I have one demo application which just authenticate user from database and shows welcome page.</p>
  
  <p>The problem is if I keep login page open and then after restarting server, try to login using the same page which is opened earlier, screen shown me <code>HTTP Status 408 - The time allowed for the login process has been exceeded.</code> error. </p>
  
  <p>I tried the suggested changed in <a href="https://stackoverflow.com/questions/1727668/http-status-408-error-during-login-with-domain-forwarding-set-up">HTTP Status 408 error during login with domain forwarding set up</a> link but it's not working.</p>
  
  <p>This is my login page :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;head&gt;
          &lt;title&gt;Login&lt;/title&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;meta http-equiv="Cache-Control" content="no-store,no-cache,must-revalidate"/&gt;
          &lt;meta http-equiv="Pragma" content="no-cache"/&gt;
          &lt;meta http-equiv="Expires" content="-1"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form method="post" action='&lt;%= response.encodeURL("j_security_check") %&gt;' id="login" &gt;
          &lt;label for="username"&gt;Username&lt;/label&gt;
          &lt;input type="text" name="j_username" id="username" autofocus /&gt;
  
          &lt;label for="password"&gt;Password&lt;/label&gt;
          &lt;input type="password" name="j_password" id="password" /&gt;
  
          &lt;button type="submit" class="primary" name="Submit"&gt;Log in&lt;/button&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I tried to debug but request is not coming through server to controller. So I'm guessing something is wrong with jboss server. Any help will be appreciated. Thanks</p>