Hi, I have a problem with creating new servlet zones as follows: I configured the servlet zones on the apache web server 1.3.6 using Apache JServ 1.1.2 and RedHat Linux6.0 My zones are prod and dev I did the following settings: create files prod.properties & dev.properties in the /etc/httpd/conf/jserv/ directory. Then I added repositories /java/examples/servlets/prod and /java/examples/servlets/dev in the respective properties files. Then I added the servlet zones in the jserv.properties file as: zones=root,prod,dev #the root zone existed Then I gave the location of the configuration file for each zone as: dev.properties=/etc/httpd/conf/jserv/dev.properties prod.properties=/etc/httpd/conf/jserv/prod.properties After that I mounted the servlet zones, by adding the foll. lines to jserv.conf: ApJServMount /servlet/dev /dev ApJServMount /servlets/dev /dev ApJServMount /servlet/prod /prod ApJServMount /servlets/prod /prod ------------------------------- When I access the JServ status by: lynx localhost/jserv/ the servlet zones are displayed alongwith the root zone. Also, the repositories are displayed correctly, and MountPoints too are valid. But when I try to access a servlet from the Mounted zones : lynx localhost/servlets/dev/Hi , I get an URL /servlets/dev not found, error. If I try to access the same servlet from the root(Created by default) zone, as: lynx localhost/servlets/Hi , the servlet works. The jserv_log file generates a ClassNotFoundException. The root zone has its repository in /usr/servlets and its MountPoint is /servlets.
Derreck |