Dear Francois,
 
    I can give you the section of my .conf files that I think are relevant to the cause!
 
Here you go :
 
From jserv.properties :
 
# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path]
# 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=C:\Program Files\Apache Group\Apache JServ\ApacheJServ.jar
wrapper.classpath=C:\jsdk2.0\lib\jsdk.jar
wrapper.classpath=D:\Development\tester\java\
 
# Set the port Apache JServ listens to.
# Syntax: port=[1024,65535] (int)
# Default: 8007
port=8007
 
# Servlet Zones parameters
 
###########################
# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)
# Default: NONE
zones=root,tester
 
# Configuration file for each servlet zone (one per servlet zone)
# Syntax: [servlet zone name as on the zones list].properties=[full path to configFile] (String)
# Default: NONE
# Note: if the file could not be opened, try using absolute paths.
root.properties=C:\Program Files\Apache Group\Apache JServ\conf\zone.properties
tester.properties=C:\Program Files\Apache Group\Apache JServ\conf\tester.properties
 
From mod_jserv.conf :
 
# Mount point for Servlet zones
# (see documentation for more information on servlet zones)
# Syntax: ApJServMount [name] [jserv-url]
# Default: NONE
# Note: [name] is the name of the Apache URI path to mount jserv-url on
# [jserv-url] is something like "protocol://host:port/zone"
# If protocol, host or port are not specified, the values from
# "ApJServDefaultProtocol", "ApJServDefaultHost" or "ApJServDefaultPort"
# will be used.
# If zone is not specified, the zone name will be the first subdirectory of
# the called servlet.
# Example: "ApJServMount /servlets /myServlets"
# if user requests "http://host/servlets/TestServlet"
# the servlet "TestServlet" in zone "myServlets" on default host
# thru default protocol on defaul port will be requested
# Example: "ApJServMount /servlets ajpv11://localhost:8007"
# if user requests "http://host/servlets/myServlets/TestServlet"
# the servlet "TestServlet" in zone "myServlets" will be requested
# Example: "ApJServMount /servlets ajpv11://jserv.mydomain.com:15643/myServlets"
# if user requests "http://host/servlets/TestServlet" the servlet
# "TestServlet" in zone "myServlets" on host "jserv.mydomain.com" using
# "ajpv11" protocol on port "15643" will be executed
ApJServMount /servlets /root
ApJServMount /testServlets /tester
 
From tester.properties :
 
# List of Repositories
#######################
# The list of servlet repositories controlled by this servlet zone
# Syntax: repositories=[repository],[repository]...
# Default: NONE
# Note: The classes you want to be reloaded upon modification should be put
# here.
repositories=D:\Development\tester\servlets
 
This allows me to view the servlets in the path D:\Development\tester\servlets via a http call like :
 
 
Hope this helps.
 
Cheers
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Francois Merle
Sent: Monday, August 23, 1999 12:02 PM
To: Java Apache Users
Subject: Re: ApJServMount / Zones

Hello Matthew:

Indeed I tried it before posting my message, but that does not work for me.

Do you use Apache with the default localhost, with several zones and with the default configuration from the install? If so, can you send me a copy of your .conf files?

Thx
Francois

Matthew Ueckerman wrote:

-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Francois
> Merle
> Sent: Monday, August 23, 1999 9:46 AM
> To: [EMAIL PROTECTED]
> Subject: ApJServMount / Zones
>
>
> -----------------------------
> Please read the FAQ!
> <http://java.apache.org/faq/>
> -----------------------------
>
> Hello there:
>
> I am running Win98 - Java2 - Apache 1.3 and JServ 1.0. This said here is
> the problem:
>
> 1) I can only use the root zone. The zones that I create don't work. And
> if I rename root to something else in the jserve.properties,
> mod_jserv.conf it does work either.
>
> 2) Why include ApJServMount in the httpd.conf file since this file
> includes mod_jserv.conf? Is it because for each virtual host we must
> include it in between the <VirtualHost> </VirtualHost> tags? I do not
> use any virtual host but only localhost. So how do I do that?
>
> 3) I read the FAQ and the entire archive at
> http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/
> but I did not find the answer. so what I'd like to do is:
> http://localhost/servlets/   http://localhost/myservlets/
> http://localhost/someotherservlets/
>
> Thanks.
> Francois
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>

Dear Francois,

    Try out this, it did the job for me!

http://java.apache.org/jserv/zones.html

Cheers

Matthew.

--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to