----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Sorry. I don't have any similar experience before.
>From the messages, I guess that you have your JServ
started by Apache (i.e. "ApJServManual off" in the
.conf file). The Apache process keeps monitoring the
JServ and comunicate with it via ajp12 in a specific
time interval to ensure that it's alive. As your
thread is a long running one, the JServ (running on
VM) does not respond to Apache process before timeout;
the Apache process considered that your VM was dead
and start another one for you. I found that there is a
parameter "ApJServVMTimeout" in jserv.conf, its
default value is 10 sec. I don't know whether this
parameter is the key of your problem. But I think it
should be a parameter related problem.
By the way, if you cannot find any solution, is it
possible for servlets to write some dummy output to
the Apache process periodically, let's say
out.println("") and then out.flush() , such that it
won't wait too long and considered the JServ is dead
(i.e. keep some traffic in ajp12). I know that it
absolutely a dirty trick and it may not work. But it
may better than nothing.
Hope this help.
Regards,
Dagan
>
> hi all,
> I need help, I have a thread that takes a long time
> to run, and it used to
> work fine, but now the server restarts itself after
> a period of time.
> I get this error in the logs.
> Can anybody tell me what it means, thanks
>
> --Yohans
>
>
> [25/08/2000 17:18:14:310] (INFO) wrapper: Java VM
> not responding
> (PID=11742) [timeout]
> [25/08/2000 17:18:14:314] (EMERGENCY) ajp12: auth
> did not receive
> challenge size
> [25/08/2000 17:18:14:314] (EMERGENCY) ajp12: auth
> fail
> [25/08/2000 17:18:14:314] (ERROR) an error returned
> handling request via
> protocol "ajpv12"
> [25/08/2000 17:18:15:320] (EMERGENCY) ajp12: auth
> did not receive
> challenge size
> [25/08/2000 17:18:15:320] (EMERGENCY) ajp12:
> function auth fail
> [25/08/2000 17:18:15:320] (INFO) wrapper: Java VM
> restarting (PID=11742)
> [25/08/2000 17:18:15:320] (INFO) wrapper: Java VM
> spawned (PID=11817,
> PPID=11742)
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]