----------------------------------------------------------------
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!!!
----------------------------------------------------------------
either try running on a non-SMP box or try running using native threads (do
not use native threads in Blackdown JDK 117 -- native threads is broken in
that JDK! Use either the IBM JDK118, Blackdown JDK122RC3, or Sun/Inprise
JDK122)
you could also comment out the ping request from jserv_apjv12.c (somewhere
around line 730)
- Greg
----- Original Message -----
From: Freeman Pascal <[EMAIL PROTECTED]>
To: 'Java Apache Users' <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 2:04 PM
Subject: RE: Servlet Timeout
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Is there a way to determine if this particular problem
> is the cause of servlet timeouts?
>
> I've seen this with my own servlets and assumed I had
> a deadlock issue some where since the problem went
> away with a restart of the VM.
>
> -Freeman
>
> -----Original Message-----
> From: Gregory A. Krasnow [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 19, 2000 1:32 PM
> To: Java Apache Users
> Subject: Re: Servlet Timeout
>
>
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> There is a problem in the assumptions made in JServ 1.1 (actually it is
the
> apjv12 protocol). It assumes that the c process (mod_jserv) should expect
> an immediate reply from the java process (JServ). If this reply does not
> immediately return, then it assumes that the java process is hung and
resets
> the JVM. This mainly occurs when running on an SMP box, using a JVM with
> green threads and with a servlet that takes a long time to run (i.e. does
> more than just serve up an HTML page). This is because it is easy to have
a
> situation where httpd (mod_jserv) is running on one processor while java
is
> running on another processor. If the java process is busy with a request,
> it will not return the ping immediately and thus the JVM is reset. If you
> run native threads, then it is more likely that there will be a waiting
> thread to handle the ping request. I have been meaning (though have not
had
> the time) to write a patch for the code to allow for a configuration
option
> which will let you decide both the number of ping requests unanswered
before
> re-setting the JVM and allowing for time period to wait for the ping
reply.
>
> - Greg
>
> ----- Original Message -----
> From: Doug Hathaway <[EMAIL PROTECTED]>
> To: 'Java Apache Users' <[EMAIL PROTECTED]>
> Sent: Wednesday, January 19, 2000 1:11 PM
> Subject: Servlet Timeout
>
>
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> >
> > We just upgraded our Jserv from 1.0 to 1.1b3 and it appears that we are
> > encountering some sort of timeout when a servlet process takes over 10
> > seconds. We are failing on a export of data from a MySql table to flat
> > file, this export worked fine until we upgraded our Jserv. I believe
> > the problem is in the Jserv configuration, however I have not been able
> > to determine the source of the problem. If anyone has a solution are a
> > suggestion I would appreciate at it.
> >
> > Thanks
> >
> >
> > The following are the logs that might help in answering our problem.
> >
> > Jserv = ApacheJServ 1.1b3
> >
> > Java =Blackdown jre117_v3
> >
> > OS = Linux
> >
> > Jserv_log
> > ========
> > [19/01/2000 09:48:53:680] (INFO) wrapper: Java VM spawned (PID=16034,
> > PPID=15993)
> > [19/01/2000 10:16:10:149] (INFO) wrapper: Java VM not responding
> > (PID=15993) [timeout]
> > [19/01/2000 10:16:10:152] (EMERGENCY) ajp12[1]: cannot scan servlet
> > headers (500)
> > [19/01/2000 10:16:10:152] (ERROR) an error returned handling request via
> > protocol "ajpv12"
> > [19/01/2000 10:16:11:159] (EMERGENCY) ajp12: ping: no reply
> > (-1) Please make sure that the wrapper.classpath is
> > pointing to the correct
> > version of ApacheJServ.jar
> > [19/01/2000 10:16:11:159] (INFO) wrapper: Java VM restarting (PID=15993)
> >
> > [
> >
> > Apache Error Log
> > ==============
> > [Wed Jan 19 10:26:24 2000] [error] [client ] Premature end of scrip
> > t headers: /ss3script/com.kurant.sysadmin.servlet.ExportTables
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > 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]
> >
>
>
>
> --
> --------------------------------------------------------------
> 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]
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]