Thank you for your reply. I checked these things and everything is alright, I believe.
This is actually some code that was working fine with jrun and apache 1.3.9 and linux
5.2. We upgraded linux to 6.X, and in doing so everythng broke, so I upgraded apache
and switched to jserv. The first call to the db works fine because I get a resultset
back and I create a page, but now that I think about it, if I get more than one row in
the resultset I get this error message. Why would I get a single row resultset back
with this exact same code, but if I get a multiple line back I get this error message?
Any other ideas?
"P.Yesudason" wrote:
> Try to check all your connections to the database and statements are opened only in
> init and
> you are not doing that anywhere else...This may be the problem.
>
> Yesudas
>
> "Larry M. Lemons" wrote:
>
> > I am using a servlet that basically calls a db and returns some info. When
> > called initially with one query, it works fine, but if I change the query, I get
> > the following error. Any ideas what could be causeing it. I am stumped.
> >
> > I am running Apache 1.3.12 w/ ApacheJserv, the latest version as of last
> > Thursday.
> > _______________________________________________________________
> >
> > On the web page, I get this error:
> >
> > Internal Server Error
> >
> > The server encountered an internal error or misconfiguration and was
> > unable to complete your request.
> >
> > Please contact the server administrator, root and inform them of the
> > time the error occurred, and anything you might have done that may have
> > caused the error.
> >
> > More information about this error may be available in the server error
> > log.
> >
> > Apache/1.3.12 Server at www.stsbiz.net Port 80
> >
> > _______________________________________________________________
> >
> > The website.error.log:
> >
> > [Tue Apr 25 12:27:24 2000] [error] [client <ipAddr>] Premature end of
> > script headers: /servlet/Report
> >
> > _______________________________________________________________
> >
> > website.access.log
> >
> > <Accessing machine> - - [25/Apr/2000:12:27:24 -0500] "POST
> > /servlet/Report HTTP/1.0" 500 583
> >
> > _______________________________________________________________
> >
> > mod_jserv.log:
> >
> > [25/04/2000 12:27:24:683] (INFO) wrapper: Java VM not responding
> > (PID=30847) [timeout]
> > [25/04/2000 12:27:24:686] (EMERGENCY) ajp12[1]: cannot scan servlet
> > headers (500)
> > [25/04/2000 12:27:24:686] (ERROR) an error returned handling request via
> > protocol "ajpv12"
> > [25/04/2000 12:27:25:693] (EMERGENCY) ajp12: ping: no reply
> > (-1) Please make sure that the wrapper.classpath is
> > pointing to the correct version of ApacheJServ.jar
> > [25/04/2000 12:27:25:693] (INFO) wrapper: Java VM restarting (PID=30847)
> >
> > [25/04/2000 12:27:25:694] (INFO) wrapper: Java VM spawned (PID=31014,
> > PPID=30847)
> >
> > _______________________________________________________________
> >
> > --
> > Thanks,
> > Larry M. Lemons
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > ICQ number: 6941727
> > http://php.indiana.edu/~llemons/home.html
> > http://llemons.evermann.indiana.edu/home.shtml
> >
> > N 39.17564, W 86.50809
> > N 39 10' 32.3" W 86 30' 29.1"
> > UTM: 16 S 542490 4336383
> >
> > Shh! Be vewy quiet, I'm hunting wuntime errors!
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> --
> I am free and have a destination too far,
> .... I will keep flying.
--
Talk to you later,
Larry M. Lemons
[EMAIL PROTECTED]
[EMAIL PROTECTED]
ICQ number: 6941727
http://php.indiana.edu/~llemons/home.html
http://llemons.evermann.indiana.edu/home.shtml
N 39.17564, W 86.50809
N 39 10' 32.3" W 86 30' 29.1"
UTM: 16 S 542490 4336383
Shh! Be vewy quiet, I'm hunting wuntime errors!
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html