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


It is difficult to tell from these log snippets.  Make sure your
configuration file doesn't have any errors in it.  My guess is that JServ
isn't actually running.

Assuming apache is installed in /usr/local, issue the command (as someone
who has admin rights for apache):

  `/usr/local/apache/bin/apachectl configtest`

This will tell you about errors in the conf file.  If it says 'Syntax OK,'
keep checking.  Otherwise fix the errors.

Then, also as a superuser, issue the command:

   `/usr/local/apache/bin/apachectl restart`

This will bounce apache.  Wait a couple of minutes, and check for the jserv
process with ps.

Also, I don't have the IsItWorking servlet on my system.  I do have a
'Hello' servlet, though.

> Below is the log files in var/log/httpd. What i did is to access in browser
> the following
> 1. http://127.0.0.1/jserv/
> 2. http://127.0.0.1/servlet/IsItWorking
> 3. http://localhost/servlet/IsItWorking
> 4. http://168.254.112.18/servlet/IsItWorking
> 
> what could be the problem? thanks
> 
> mod_jserv.log
> 
> [23/08/2000 08:30:26:155] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:30:26:156] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:30:26:156] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:30:26:156] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:30:26:156] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:30:26:156] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> [23/08/2000 08:31:36:225] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:31:36:226] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:31:36:226] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:31:36:226] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:31:36:226] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:31:36:226] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> [23/08/2000 08:32:46:295] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:32:46:296] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:32:46:296] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:32:46:296] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:32:46:296] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:32:46:296] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> [23/08/2000 08:33:56:366] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:33:56:366] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:33:56:366] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:33:56:366] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:33:56:366] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:33:56:366] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> [23/08/2000 08:34:27:610] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [23/08/2000 08:34:27:610] (EMERGENCY) ajp12: connection fail
> [23/08/2000 08:34:27:610] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [23/08/2000 08:34:38:047] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [23/08/2000 08:34:38:047] (EMERGENCY) ajp12: connection fail
> [23/08/2000 08:34:38:047] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [23/08/2000 08:34:46:151] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> [23/08/2000 08:34:46:151] (EMERGENCY) ajp12: connection fail
> [23/08/2000 08:34:46:151] (ERROR) an error returned handling request via
> protocol "ajpv12"
> [23/08/2000 08:35:06:434] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:35:06:434] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:35:06:434] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:35:06:434] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:35:06:434] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:35:06:434] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> [23/08/2000 08:39:06:675] (ERROR) wrapper: printing debugging information
> (command line, env)
> [23/08/2000 08:39:06:676] (ERROR) wrapper: argument[ 0]
> /usr/local/java//bin/java
> [23/08/2000 08:39:06:676] (ERROR) wrapper: argument[ 1] org.apache.jserv.JServ
> [23/08/2000 08:39:06:676] (ERROR) wrapper: argument[ 2]
> /etc/httpd/conf/jserv/jserv.properties
> [23/08/2000 08:39:06:676] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> [23/08/2000 08:39:06:676] (ERROR) wrapper: environment[ 1]
> CLASSPATH=/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar
> 
> access_log
> 
> 127.0.0.1 - - [23/Aug/2000:08:34:08 +0800] "GET /jserv/ HTTP/1.0" 200 2357
> 127.0.0.1 - - [23/Aug/2000:08:34:09 +0800] "GET /jserv/status?image HTTP/1.0"
> 200 2227
> 127.0.0.1 - - [23/Aug/2000:08:34:27 +0800] "GET /servlet/IsItWorking HTTP/1.0"
> 500 607
> 127.0.0.1 - - [23/Aug/2000:08:34:38 +0800] "GET /servlet/IsItWorking HTTP/1.0"
> 500 607
> 168.254.112.18 - - [23/Aug/2000:08:34:46 +0800] "GET /servlet/IsItWorking
> HTTP/1.0" 500 607
> 
> 
> *********** REPLY SEPARATOR  ***********
> 
> On 8/22/00 at 8:55 AM Ben Ricker wrote:
> 
> # ----------------------------------------------------------------
> # 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!!!
> # ----------------------------------------------------------------
> #
> # On Tue, 22 Aug 2000, you wrote:
> # > ----------------------------------------------------------------
> # > 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,
> # >
> # >     program: Apache 1.3.12 (RPM)  + JServ 1.1.2 (RPM)  in RedHat 6.2
kernel
> # > 2.2.16-3 + Netscape 4.75 i'm running as root.
> # >
> # >     i was able to access http://127.0.0.1/jserv/ and got the apacheJServ
> 1.1.2
> # > status,   but got an internal server error when accessing
> # > http://localhost/servlet/IsItWorking
> # >
> # >     what could be the problem? thanks in advance
> #
> # Probably you need to use the repository directive to tell Jserv where the
> # servlets directory is. However without log files, I can only guess. Can you
> # pinpoint and post the error logs that you get when you call IsItWorking?
> #
> # Ben Ricker
> # Senior Web Admin
> # US-Rx, Inc.
> #
> #
> # --
> # --------------------------------------------------------------
> # 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]
> 
> 



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