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

Are you sure the wrapper.classpath lines in the jserv.properties file are
corect? and make sure ApacheJServ.jar is in the right directtory that is
given in the wrapper.classpath line.

I hope this helps you...

Deniz Demir.

----- Original Message -----
From: "Francisco Jesus Castillo Pinazo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 5:57 PM
Subject: can´t find classes


> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
>
> Hello,
>
> I have this problem to run servlets on my apache, i have the jserv support
> in the apache binary like it could see with the directive
> /pathtoapache/bin/http -l , and i have the include to the jserv.conf file
in
> my http.conf file but:
>
> When I try to access to a test servlet apache give the tipical error
>
> > Internal Server Error
> >
> > The server encountered an internal error or misconfiguration and was
> > unable to complete your request.
> >
> > Please contact the server administrator, root@morfeo and inform them of
> > the time the error occurred, and anything you might have done that may
> > have caused the error.
> >
> > More information about this error may be available in the server error
> > log.
> >
> > Apache/1.3.12 Server at morfeo Port 80
> >
>
> The error_logs from apache give me the error
>
> > Can't find class org.apache.jserv.JServ
> > Can't find class org.apache.jserv.JServ
> > Can't find class org.apache.jserv.JServ
>
> The mod_jserv.log from apache give me the error
>
>
  ------------------------------------------------------------------------
> > [12/02/2001 09:31:42:224] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> > [12/02/2001 09:31:42:224] (EMERGENCY) ajp12: connection fail
> > [12/02/2001 09:31:42:224] (ERROR) an error returned handling request via
> protocol "ajpv12"
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: printing debugging
information
> (command line, env)
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: argument[ 0]
> /usr/local/jdk118_v3/bin/java
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: argument[ 1]
> org.apache.jserv.JServ
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: argument[ 2]
> /usr/local/jserv/etc/jserv.properties
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: environment[ 0]
> PATH=/bin:/usr/bin:/usr/local/bin
> > [12/02/2001 09:31:48:343] (ERROR) wrapper: environment[ 1]
>
CLASSPATH=/usr/local/jserv/libexec/ApacheJServ.jar:/root/ApacheJServ-1.1.2/j
> sdk.jar
> > [12/02/2001 09:32:00:574] (EMERGENCY) ajp12: can not connect to host
> 127.0.0.1:8007
> > [12/02/2001 09:32:00:575] (EMERGENCY) ajp12: connection fail
> > [12/02/2001 09:32:00:575] (ERROR) an error returned handling request via
> protocol "ajpv12"
>
>
> The jserv.properties have this path for classes
> and i have the Apache
> /root/ApacheJServ-1.1.2/jsdk.jar
> /usr/local/jserv/libexec/ApacheJServ.jar
> correct files in my disk
>
>
> >
> > # CLASSPATH environment value passed to the JVM
> > # Syntax: wrapper.classpath=[path] (String)
> > # Default: NONE (Sun's JDK/JRE already have a default classpath)
> > # Note: if more than one line is supplied these will be concatenated
using
> > #       ":" or ";" (depending wether Unix or Win32) characters. JVM must
> be
> > #       able to find JSDK and JServ classes and any utility classes used
> by
> > #       your servlets.
> > # Note: the classes you want to be automatically reloaded upon
> modification
> > #       MUST NOT be in this classpath or the classpath of the shell
> > #       you start the Apache from.
> > #
> > wrapper.classpath=/usr/local/jserv/libexec/ApacheJServ.jar
> > wrapper.classpath=/root/ApacheJServ-1.1.2/jsdk.jar
>
>
>
> --
> --------------------------------------------------------------
> 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