----------------------------------------------------------------
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!!!
----------------------------------------------------------------
[EMAIL PROTECTED] wrote:
>
> I have an servlet which, along with a number of other things which
> involve returning HTML to the user, at one point sends one of a number
> of possible PDF documents back to the user. Some of these PDFs are
> quite large (2 - 20 MB). The servlet is getting them and sending them
> back to the user. The smaller ones tend to be OK, but the larger ones,
> more often than not (and not always) die a horrible death. The PDF
> stream ends prematurely and this is all i get to show for it:
>
> [28/02/2000 13:15:22:311] (EMERGENCY) ajp12: ping: no reply (-1) =
> Please make sure that the wrapper.classpath is pointing to =
> the correct version of ApacheJServ.jar
Glen, I'm experiencing a very similar problem, but I get a slightly
different entry in the log:
[04/03/2000 20:23:04:810] (INFO) wrapper: Java VM not responding
(PID=27237) [timeout]
[04/03/2000 20:23:05:820] (EMERGENCY) ajp12: auth did not receive
challenge size
[04/03/2000 20:23:05:820] (EMERGENCY) ajp12: function auth fail
[04/03/2000 20:23:05:820] (INFO) wrapper: Java VM restarting (PID=27237)
[04/03/2000 20:23:05:821] (INFO) wrapper: Java VM spawned (PID=27589,
PPID=27237)
Everything else, however, is identical. As far as I can tell, my servlet
is blocking while writing to the output stream (huge file, just like
yours) and when jserv tests itself, it auto-restarts. If I adjust the
ApJServVMTimeout value (default is 10 seconds, set in jserv.conf) it
stays alive appropriately. I don't think, however, I want to switch this
timeout off, as it should protect against real problems!
Who knows _why_ the JVM is not responding during downloads... it should
be nice & multi-threaded, right?!
Anyway, I'm scrounging for ideas... have you managed to work something
out at your end? I've been fighting this for two days, now... very
annoying!
Cheers,
-Simon
--
--------------------------------------------------------------
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]