-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
I had been running ApacheJServ1.0 and everything was working great.
I decided to try this new ApacheJServ1.1.
It compiled and installed just fine.
I went through the config files and made sure that all zones were poiting to
the correct place, all classpaths were the same as they were before, etc...
I edited zone.properties and uncommented the lines for the snoop servlet
since I usually use that to test the Jserv installation.
unfortunately either the ApJservMount works differently then it used to, or
something is wrong with the apjv12 protocol since I get the following
in my mod_jserv.log when I try http://localhost/servlet/snoop (although
http://localhost/jserv/ does show me the little status information):
[30/09/1999 08:41:40:495] (ERROR) ajp12: Servlet Error: Received empty
servlet name
excerpt from jserv.conf:
# Protocol used by this host to connect to Apache JServ
# (see documentation for more details on available protocols)
# Syntax: ApJServDefaultProtocol [name]
# Default: "ajpv12"
ApJServDefaultProtocol ajpv12
ApJServMount /servlet /zone
excerpt from jserv.properties:
# Servlet Zones parameters
###########################
# List of servlet zones Apache JServ manages
# Syntax: zones=[servlet zone],[servlet zone]... (Comma separated list of
String)
# Default: NONE
zones=zone
# 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.
zone.properties=/etc/httpd/conf/jserv/zone.properties
excerpt from zone.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=/home/httpd/servlets
servlets.startup=snoop
# Servlet Aliases
##################
# This defines aliases from which servlets can be invoked.
# Each alias give a new instance of the servlet. This means that if a
servlet
# is invoked both by class name and by alias name, it will result in _TWO_
# instances of the servlet being created.
# Syntax: servlet.[alias].code=[classname] (String)
# Default: NONE
servlet.snoop.code=SnoopServlet
ls from /home/httpd/servlets:
[root@Q logs]# ls -l !$
ls -l /home/httpd/servlets/
total 6
-rw-r--r-- 1 root root 1129 Sep 9 15:02 Hello.class
-r--r--r-- 1 root root 4086 Sep 9 15:04 SnoopServlet.class
any ideas??
- Greg
Gregory Krasnow
Senior Software Engineer
Stone Analytics, Inc.
[EMAIL PROTECTED]
Tel: 858.503.7540 x204
Fax: 858.503.7541
--
--------------------------------------------------------------
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]