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

Some more info

I tried adding a sub-directory to the example directory (which resides under
the document root), and placed a simple html file there. On trying to
request it from the browser I got the same 'ClassNotFound' error. I find
this confusing. There is no sign of a .jsp extension, yet the request gets
treated as if it a request for a servlet or a JSP.

Any advice would be appreciated.

I am using apache 1.3.11 and Jserve 1.1.2.

Here is some relevant bits of the conf and log files:

ApJServProperties /usr/local/apache/conf/jserv.properties

ApJServMount /example /example
ApJServMount /servlets /example
ApJServMount /servlet /example


wrapper.bin=/usr/java1.2/bin/java

# Arguments passed to java interpreter (optional)
# Syntax: wrapper.bin.parameters=[string]
# Default: NONE

# Apache JServ entry point class
# Syntax: wrapper.class=[classname]
# Default: "org.apache.jserv.JServ"
wrapper.class=org.apache.jserv.JServ

# Arguments passed to main class after the properties filename
# Syntax: wrapper.class.parameters=[string]
# Default: NONE
# Note: currently not used

# PATH environment value passed to the JVM
# Syntax: wrapper.path=[path]
# Default: "/bin:/usr/bin:/usr/local/bin" for Unix systems
#          "c:\(windows-dir);c:\(windows-system-dir)" for Win32 systems
# Notes: if more than one line is supplied these will be concatenated using
#        ":" or ";" (depending wether Unix or Win32) characters
#        Under Win32 (windows-dir) and (windows-system-dir) will be
#        automatically evaluated to match your system requirements

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path]
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Notes: 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=/usr/local/jsdk/lib/jsdk.jar
wrapper.classpath=/usr/local/jswdk/lib/servlet.jar
wrapper.classpath=/usr/local/ojsp/lib/ojsp.jar
wrapper.classpath=/usr/local/ojsp/lib/xmlparserv2.jar
wrapper.classpath=/usr/local/ojsp/lib/translator.zip
wrapper.classpath=/usr/local/ojsp/lib/classes111.zip
wrapper.classpath=/home/oraweb/inetpub/wwwroot/beans
wrapper.classpath=/usr/java/lib/tools.jar
wrapper.classpath=/ora1/app/oracle/oas4082/ows/4.0/classes/services.jar
wrapper.classpath=/ora1/app/oracle/oas4082/ows/4.0/classes/cosnam.jar
wrapper.classpath=/ora1/app/oracle/oas4082/jdbc/lib/classes12.zip
wrapper.classpath=/ora1/app/oracle/oas4082/jdbc/lib/classes12_g.zip
wrapper.classpath=/usr/jaf/activation.jar
wrapper.classpath=/usr/javamail/mail.jar



example.properties=/usr/local/apache/conf/example.properties


[10/07/2000 16:30:13:435 GMT-02:00] <warning> Error creating classloader for
servlet zone example : java.lang.IllegalArg
umentException: Repository /next doesn't exist!


Regards
Herman

----- Original Message -----
From: Herman Scheepers <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 10, 2000 3:40 PM
Subject: JServer interprets a sub directory as a class


> ----------------------------------------------------------------
> 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 All
>
> I have configured a zone that has sub-directories. As soon as I try to
> access a file in one of those sub-directories, it gets interpreted as a
> class that, off course, is not found. I am completely stumped. Please
help.
>
> Regards
> Herman
>
>
>
> --
> --------------------------------------------------------------
> 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