-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hello,
I am having a lot of trouble configuring JServe zones. I can run the
"example/Hello" servlet that comes with the installation but when I try and
run Hello.class from a zone I have defined I can't get it to work. I am
attemping to invoke the servlet from a web page link
www.SecondBusiness.com/demo.html
<p>Run <a href="rs/Hello" target="main">servlet</a> please!</p>
I have also tried <a href="servlets/Hello" target="main">
I can see what the zones idea is all about but I think the problem is in my
zone definition and mount point, but I'm quite lost. There are no entries in
the jserv.log and the Apache error_log just gives "error 404" Not Found
messages to the GET request.
Any help would be truely appreciated
Regards... Terry - Christchurch, New Zealand
I have included the config files below.
I have the file Hello.class in the following directory
/home/www/second/htdocs/servlets
*********** JSERV.PROPERTIES ***
# Servlet Zones parameters
# List of servlet zones Apache JServ manages
zones ts,rs
ts.properties=/home/www/first/htdocs/servlets/ts.properties
rs.properties=/home/www/second/htdocs/servlets/rs.properties
********** RS.PROPERTIES *******
# List of Repositories
repositories=/home/www/rosters/htdocs/servlets
********* HTTPD.CONF ***********
# JServ Shared directives
<IfModule mod_jserv.c>
ApJServManual Off
ApJServProperties=/usr/local/apache/conf/jserv.properties
ApJServDefaultProtocol ajpv11
ApJServDefaultHost localhost
ApJServDefaultPort 8007
ApJServLogFile /usr/local/apache/logs/mod_jserv.log
ApJServSecretKey DISABLED
ApJServManual OFF
<Location status/jserv/>
SetHandler jserv-status
order allow,deny
deny from all
allow from localhost
</Location>
</IfModule>
#
# MyFirstBusiness
#
<VirtualHost 169.254.100.20>
ServerName www.MyFirstBusiness.co.nz
DocumentRoot /home/www/first/htdocs
<Directory /home/www/first/htdocs>
order allow,deny
allow from all
</Directory>
<IfModule mod_jserv.c>
ApJServMount /servlets /servlets
</Ifmodule>
</VirtualHost>
#
# SecondBusiness
#
<VirtualHost 169.254.100.20>
ServerName www.SecondBusiness.com
DocumentRoot /home/www/second/htdocs
<Directory /home/www/second/htdocs>
order allow,deny
allow from all
</Directory>
<IfModule mod_jserv.c>
ApJServMount /servlets ajpv11://www.SecondBusiness.com/rs
</Ifmodule>
</VirtualHost>
</IfDefine>
#JServ Include statement for testing JServ
#Include /usr/local/src/ApacheJServ-1.0/example/jserv.conf
--
--------------------------------------------------------------
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]