>>>>> On Tue, 13 Apr 1999 08:08:26 -0400, [EMAIL PROTECTED] (Adam Gifford) said:

    Adam> 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".
    >>              ^^^^^^^^^^^^^^^^^

      i.e that it could be other things which can produce the same problem.

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

 In no way was I doubting whats happening at your end, what I am seeing
 appears to be the same without the large number of "file descriptors".

    >> 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"
    >> 
    >> 

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

 Sure there is a lot more in the jserv.log, alas nothing more as far as of
 value to the exception being raised other then

[13/04/1999 16:19:41:571 GMT] All data read.
[13/04/1999 16:19:41:571 GMT] Parsing cookies
[13/04/1999 16:19:41:572 GMT] Calling service()
[13/04/1999 16:19:41:579 GMT] Sending response headers.
[13/04/1999 16:19:41:579 GMT] Status: 500 Internal Server Error
[13/04/1999 16:19:41:579 GMT] Content-Type: text/html
[13/04/1999 16:19:41:581 GMT] javax.servlet.ServletException:
        at Cdd_servlet.doPost(Cdd_servlet.java:350)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.run(JServConnection.java:359)
        at java.lang.Thread.run(Thread.java:474)


 Most importantly as I have the servlet working on one system (Solaris)
 and the same class file fails on another (Irix), leads me to propose a
 problem with Jserv - especially as the same servlet worked for many months
 with Jserv 1.02b without any problems.

 Any clues really appreciated.


   Tarang


----------------------------------------------------------------
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