Tarang Patel wrote:

>
>     Adam> Well, we started to get HTTP 500's after several hours of
>     Adam> inactivity, due to too many open file descriptors causing our
>     Adam> program to generate exceptionswhen it wanted to connect to a
>     Adam> database.  I would reccomend checking your mod_jserv.log and
>     Adam> jserv.log to see what exception was generating the HTTP 500.
>
>  I don't buy that its only due to "too many file descriptors".
>
>

whether or not you believe it doesn't affect the fact that it is what happened here. 
grabbing
a copy of lsof quickly led us to the problem.  there were 56 open copies of an html 
template
page we were using.

>  I started seeing "500 Internal Server Error" for a servlet that had been
>  tested and working on Apache 1.3.4 with Jserv 1.04b & SSL. I spend a few days
>  trying to track what caused the failure. The error message I see in my
>  jserv.log file is  :
>
> [12/04/1999 15:49:38:303] (ERROR) ajp11: Servlet Error: 
>javax.servlet.ServletException:
> [12/04/1999 15:49:38:304] (ERROR) an error returned handling request via protocol 
>"ajpv11"
>
>

that ain't the exception buddy.  Check your other logs for the stack trace of the real
exception to see what is causing the problem.

check your mod_jserv.log & jserv.log one of them should contain the stack trace for the
exception it contains quite a bit more detail than "servlet exception".






----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to