2014-09-19 5 views
0

현재 이상한 문제에 직면하고 있습니다. 데이터베이스에서 사용자를 인증하고 환영 페이지를 보여주는 데모 애플리케이션이 하나 있습니다.JBoss를 사용하는 j_security_check의 http 상태 408

로그인 페이지를 연 상태로 유지하고 서버를 다시 시작한 후 이전에 열었던 동일한 페이지를 사용하여 로그인하려고하면 화면에 HTTP Status 408 - The time allowed for the login process has been exceeded. 오류가 표시됩니다.

HTTP Status 408 error during login with domain forwarding set up 링크에서 제안 된 변경을 시도했지만 작동하지 않습니다.

<!DOCTYPE html> 
<head> 
     <title>Login</title> 
     <meta charset="utf-8" /> 
     <meta http-equiv="Cache-Control" content="no-store,no-cache,must-revalidate"/> 
     <meta http-equiv="Pragma" content="no-cache"/> 
     <meta http-equiv="Expires" content="-1"/> 
</head> 
<body> 
    <form method="post" action='<%= response.encodeURL("j_security_check") %>' id="login" > 
     <label for="username">Username</label> 
     <input type="text" name="j_username" id="username" autofocus /> 

     <label for="password">Password</label> 
     <input type="password" name="j_password" id="password" /> 

     <button type="submit" class="primary" name="Submit">Log in</button> 
    </form> 
</body> 
</html> 

내가 요청이 컨트롤러에 서버를 통해 오는 것이 아니라, 디버깅하려고 :

이 내 로그인 페이지입니다. 그래서 jboss 서버에 문제가 있다고 생각합니다. 어떤 도움을 주시면 감사하겠습니다. 감사합니다

+0

이 문제와 비슷한가요? http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/122471 – Yster

+0

네, 동일하고 세션 만료 예정일인데 –

답변

1

제 경우 로그인 페이지에 추가했습니다.

setInterval(function(){ 
     location.reload(true); //reload each 5 minutes 
    },5*60*1000); 

희망 도움말.

+1

예. 이전에 게시 한 경우 유용 할 수 있습니다. 408에서 사용자를 세션 시간 초과 페이지로 리디렉션했습니다. –