----------------------------------------------------------------
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,

I had a problem that was throwing the same error as the one you are getting
not so long ago.  The first thing I was told to check was that the files
were all in the correct locations (jars and servlets) and that they were all
fully accessible (read, write, execute etc...).  

In my case I had already done all this with no luck.  It took me a while to
figure this out, but my boss had failed to configure our firewall properly
and allow connections from our web server to my development database box.
One of my servlets was attempting to create a connection in init() and being
blocked by the firewall.  This caused the same error as the one you are
getting.

Lee 

> -----Original Message-----
> From: Adam Herscher [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, August 21, 2000 6:45 AM
> To:   [EMAIL PROTECTED]
> Subject:      jserv problems - please help
> 
> ----------------------------------------------------------------
> 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,
> 
> I recently attempted to install apache+jserv on a new web server, and am
> now receiving the following error when servlets are requested:
> 
> [20/08/2000 22:18:20:199] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [20/08/2000 22:18:40:482] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> [20/08/2000 22:18:40:482] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [20/08/2000 22:18:40:482] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> [20/08/2000 22:18:40:482] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [20/08/2000 22:18:40:483] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> [20/08/2000 22:18:40:483] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [20/08/2000 22:18:40:483] (EMERGENCY) ajp12[1]: cannot scan servlet
> headers  (500)
> [20/08/2000 22:18:40:483] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [20/08/2000 22:18:40:821] (EMERGENCY) ajp12: ping: no reply
> (-1)             Please make sure that the wrapper.classpath is pointing
> to the correct version of ApacheJServ.jar
> 
> First, the answers to the standard questions.. I'm using JServ 1.1.2,
> Apache 1.3.12, RedHat Linux 6.2 with a 2.2.16 kernel.  I downloaded the
> linux jdk1.2.2 port from ftp.tux.org (a blackdown mirror), and JSDK2.0
> from sun.
> 
> The jar files seem to be in the correct locations, and ApacheJServ.jar was
> just built with the correct locations to jdk/JSDK passed to the configure
> script:
> 
> jserv.properties:wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.ja
> r
> jserv.properties:wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
> 
> [adam@magneto ~]# ls -al /usr/local/jserv/libexec/ApacheJServ.jar 
> -rw-r--r--    1 root     root        86879 Aug 20 22:03
> /usr/local/jserv/libexec/ApacheJServ.jar
> [adam@magneto ~]# ls -al /usr/local/JSDK2.0/lib/jsdk.jar 
> -r--r--r--    1 nobody   nobody      76453 Apr 21  1998
> /usr/local/JSDK2.0/lib/jsdk.jar
> 
> 
> The servlets are in the correct location:
> 
> zone.properties:repositories=/home/httpd/www.supercars.net-servlets
> 
> -rw-rw-r--    1 owen     owen         1101 Aug 20 22:17 Hello.class
> -rw-rw-r--    1 owen     owen         2102 Aug 20 22:17 IsItWorking.class
> 
> I've been searching web mailing list archives for an answer to the
> problem, and although I've seen people post similar error messages, I've
> yet to find someone with the same problem and a working
> answer/solution.  I've had jserv working on another machine for 3 months
> now, and never ran into this problem on that install.
> 
> Any help you guys (and jon, i know you read this list/answer most of the
> questions) would be -really- appreciated.
> 
> Regards,
> 
> Adam Herscher
> 
> 
> 
> --
> --------------------------------------------------------------
> 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]


--
--------------------------------------------------------------
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]

Reply via email to