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

Catherine--

1.  Where is your apache home directory?
On my server, all the apache stuff sits in /home/apache.
I am not suggesting you do this, I am just telling where my stuff is....
from that point I have bin, conf, logs, htdocs....these should be familiar
to you
2.  Your httpd.conf and jserv.properties file must both be found in the conf
directory.
3.  Append you httpd.conf file with the supplied jserv.conf file.
4.  Where is your servlet?   Preferrably, it should be in the same directory
as the properties file.
your repositories property should read something like:
repositories=/usr/local/src/ApacheJServ-1.0/example
A good practice is to title the properties file the same as the zone.
We are using example, to title it example.properties
5. Your entry in the jserv.properties file looks correct....just make sure
that is pointing the directory where the property file and servlet class are
found.
6.  >ApjServMount /servlets ajpv11://www.servername.net:8007/
this is WRONG...unless servlets is the actual zone.
it should read
ApJServMount /example ajpv11://yourhost.com:8007/example

Good luck.

Robert.


-----Original Message-----
From: Catherine Curtiss <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Tuesday, August 24, 1999 9:50 AM
Subject: Servlet-Error: Servlet zone "" not found.


>-----------------------------
>Please read the FAQ!
><http://java.apache.org/faq/>
>-----------------------------
>
>I get the following message in my jserv.log file when trying to call a
>servlet from an HTML page...
>
>Servlet-Error: Servlet zone "" not found.
>
>In my jserv.properties file I have my zone setup as...
>zones=example
>example.properties=/usr/local/apache/conf/servlets.properties
>
>In my jserv.conf file, my ApjServMount is set to:
>ApjServMount /servlets ajpv11://www.servername.net:8007/
>
>The servlets.properties file in the /conf directory has set the
>repository to:
>repositories=/usr/local/apache/htdocs/servlets,/usr/local/apache/jsdk2.1/se
rvlet.jar
>
>The HTML page just sends a simple form to the "Hello" servlet. The error
>I get is 404 not found. The jserv.log file is where I find the
>Servlet-Error listed above.
>
>I'm not exactly sure what I'm doing wrong. I'm assuming my zones are not
>setup correctly, but I've done what the Apache doc on creating zones
>says to do, but it doesn't seem to be working. I'd appreciate any help
>you can give.
>
>Thanx,
>CCC
>
>
>--
>--------------------------------------------------------------
>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]
>
>



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