Title: Problem setting up zones

Hi

I've just installed Apache 1.3.6 and JServ 1.0b and am having problems
setting up zones.
Here's what I want:

I have several servlet classes in package tutorial.servlets (e.g.
tutorial.servlets.BookStoreServlet.class)
They reside in directory h:\java\classes\tutorial\servlets.

The source code for these servlets resides in
h:\java\source\tutorial\servlets.

jserv.properties contains the following lines: (these are the only lines
I've changed or added from the default install)
  zones=root,tutorial
  root.properties=h:\programs\Apache Group\Apache
JServ\conf\zone.properties

tutorial.properties=h:\java\source\tutorial\servlets\tutorial.properties

h:\java\source\tutorial\servlets\tutorial.properties contains the
following lines: (I copied this file from the zone.properties in conf
and added to/modified it as below)
  repositories=h:\java\classes
  servlet.bookstore.code=tutorial.servlets.BookStoreServlet

I can successfully load http://127.0.0.1/servlets/IsItWorking from the
root zone.
But when I try http://127.0.0.1/servlets/bookstore I get a 404-Not Found

What am I doing wrong?

My config is NT4 (sp3), JDK 1.1.7, JDSK 2.0, Apache 1.3.6 and JServ 1.0b

Thanks in advance


David Shepherd
Java Application Developer
Systems Development
Southern Cross Healthcare
ph:     (9) 356 0925 ext 8851
email:  [EMAIL PROTECTED]


Reply via email to