Howdy,

>say 10-12 hours of browser inactivity, when attempting to login we get
>the BASIC Auth prompt, we enter our credentials and then tomcat hangs
>while loading our index.jsp. The request never completes.
>
>I've attached our configuration. Please let me know if there is
anything
>that looks wrong.
>
>We,re using:
>Tomcat 4.1.27
>Java 1.4.2
>Redhat 9.0
>
>Also, what kind of settings can I apply to help debug the problem
>effectively.

Add debug="99" to your JDBC Realm, as well as your Host and Context
definition server.xml.  Make sure you DB is up and available, and that
your connections are not stale.  If you're using connection pooling, add
validation queries so that the pool can check and recycle connections as
needed.

Does the lockup happen if you use a simple user authentication with
tomcat-users.xml as opposed to your more complex JDBC realm?  That's
worth trying in order to isolate the problem.

Does this behavior happen on other machines, e.g. the dev machines, or
only this heavily loaded production one?  BTW a constant 50% CPU load is
heavy -- what's it doing out of curiosity?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to