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/jsdk.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 |
=?iso-8859-1?Q?can=B4t_find_classes?=
Francisco Jesus Castillo Pinazo Mon, 12 Feb 2001 07:39:34 -0800
- canīt find classes Francisco Jesus Castillo Pinazo
- canīt find classes Francisco Jesus Castillo Pinazo
- Re: canīt find classes Deniz Demir
- Re: canīt find classes Francisco Jesus Castillo Pinazo