Thanks for the info. Your conf files are very close to mine. So what
I did was change
ApJServMount /test /tester that did not work yesterday to
ApJServMount /testServlets /tester and works for you and it works for
me now.
So I stripped it down to my original ApJServMount /test /tester and
now it works.
It even works with ApJServMount /development /tester
So I'm very confused why it did not work yesterday. I tried so many different settings and none worked last night. What's going on???
Thanks a lot anyway.
Francois
Matthew Ueckerman wrote:
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.jarwrapper.classpath=C:\jsdk2.0\lib\jsdk.jarwrapper.classpath=D:\Development\tester\java\# Set the port Apache JServ listens to.# Syntax: port=[1024,65535] (int)# Default: 8007port=8007 # Servlet Zones parameters ############################ List of servlet zones Apache JServ manages# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of String)# Default: NONEzones=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.propertiestester.properties=C:\Program Files\Apache Group\Apache JServ\conf\tester.propertiesFrom 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 executedApJServMount /servlets /rootApJServMount /testServlets /testerFrom 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\servletsThis allows me to view the servlets in the path D:\Development\tester\servlets via a http call like :http://localhost/testServlets/myServletHope this helps.Cheers-----Original Message-----Hello Matthew:
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 / ZonesIndeed 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
FrancoisMatthew 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]
