aspose file tools
The moose likes Servlets and the fly likes HTTP 408 Error - Please Help! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "HTTP 408 Error - Please Help!" Watch "HTTP 408 Error - Please Help!" New topic
Author

HTTP 408 Error - Please Help!

Thomas Hubschman
Ranch Hand

Joined: Sep 25, 2002
Posts: 88
"The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser"

The app works fine when you are on the localhost or from the united states (where the server is located) but when we try and login from Africa we get that error.

Running Tomcat 5.5.7, MySQL 4.l, Struts, Hibernate

Please Please Please any help?

Tom


SCJP '02, SCWCD '02, SCJD '08, SCSNB '09, SCEA '10
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Could it be that you just have a painfully slow internet connection?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
As Ben said, this can be due to network timeout.

1) Check if the client system is doing any heavy duty operations while trying to reach the server. If yes, stop all the heavy operations and try again.
2) Check if the server is having heavy workload. If yes, determine the cause of heavy workload and see if it can be reduced. If it cant be reduced, add new hardware for server.
3) If the first 2 are fine, Internet connection can be the culprit.
Thomas Hubschman
Ranch Hand

Joined: Sep 25, 2002
Posts: 88
Thanks guys.

I thought internet connection too, but then that would affect all sites I tried to navigate to not just our server. Further, a previous version of the app at the same server farm worked fine.

It's a VPS environment so this makes me think there may be a high load on the server from other users on the box.

Does anybody know how to test this?
Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
If it is unix, you can try these commands to see the load(cpu usage) on server
1) top
2) ps -eaf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: HTTP 408 Error - Please Help!
 
Similar Threads
Back After Logout in Struts
access session ID from jsp and then java class
Stumped by HTTP 408 Error - HELP!
Mock exam for SCJP1.4
problem in logout procedure