----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
hi --
the most likely causes of your problem concern the resource usage of your
servlet -- with excessive memory usage the logical choice. trying running
the JVM with additional arguments to increase both the minimum and the
maximum heap size -- or try reducing the maximum heap size, to see if the
same error starts to occur with smaller pages.
there are, of course, other possibilities; i'd take the 500+ records which
cause problems and start segmenting them into smaller sets. does the
problem still happen with 250? 125? is it triggered by a particular
record (or set of 10 records, or whatever)? do a different 500 records
cause the problem as well?
the failed ping is a separate error message from the cannon scan servlet
headers one ... that error message suggests that either the JVM hung
(possible, if your JDBC driver is broken) or that it became non-responsive
for some other reason (no CPU cycles is an unlikely cause, if there's only
one servlet running, no matter how greedy it may be -- but insufficient
memory is quite plausible).
good luck --
ed
On Thu, 17 Feb 2000, Yohans Mendoza wrote:
> hi all,
>
> I'm having this problem, and don't know what it means.
> I get the error when I'm expecting a page with 500> records in table.
>
> I know the servlet works fine because when I query for a small number of
> records I do get the table back. But when the query is supposed to return
> a big HTML table with 500 or more records, I got the error on the log file
> about
>
> ajp12[1]: cannot scan servlet headers (500)
> an error returned handling request via protocol "ajpv12"
> ajp12: ping: no reply (-1) Please make sure that the wrapper.class is
> pointing to the correct version of ApacheJserv.jar
>
> but it seems to me the servlet is timing out, or that maybe the string
> containing the HTML is way too big.
>
> Any healp greatly appreciated
> here's my configuration:
>
> linux RH6.0
> ApacheJserv1.1
> apache 1.3.6
> JSDK 2.0
> jdk blackdown 117v3
>
> TIA
>
> --Yohans
--
See you at ApacheCon 2000 in Orlanda, Florida, March 8-10, 2000.
http://www.Apachecon.com/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]