----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

I am having problems getting aliases to work on my setup.

I have Apache 1.3 on Win2000 and the latest Jserv but I just can't
seem to get servlet aliasing working.

I have a really simple test case where I try and get the IsItWorking servlet
to be aliased as "work" by changing the <jserv_root>/servlet/zone.properties
file. Everything else is default. If I add the single line listed below then
all my servlets stop working.

# Syntax: servlet.[alias].code=[classname] (String)
# Default: NONE
# servlet.snoop.code=SnoopServlet
# servlet.hello.code=org.fool.Dummy
servlet.work.code=IsItWorking

Take a look at the  Jserv log. The first line is without an attempt at
aliasing, the following lines are after I have added the line above and
restarted apache. If I run Jserv from terminal then I get the exception
written to it but nothing else.

*****************************************
jserv.log =

[07/02/2001 22:58:30:301 GMT] IsItWorking: init
[07/02/2001 23:07:47:282 GMT] java.lang.AbstractMethodError
 at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:589)
 at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:49
8)
 at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
 at org.apache.jserv.JServConnection.run(JServConnection.java:188)
 at java.lang.Thread.run(Unknown Source)

***************************************
mod_jserv.log =

[07/02/2001 22:57:34:822] (ERROR) an error returned handling request via
protocol "ajpv12"
[07/02/2001 22:58:25:194] (EMERGENCY) ajp12: can not connect to host
127.0.0.1:8007
[07/02/2001 22:58:25:194] (EMERGENCY) ajp12: connection fail
[07/02/2001 22:58:25:194] (ERROR) an error returned handling request via
protocol "ajpv12"
[07/02/2001 23:07:47:082] (ERROR) ajp12: Servlet Error:
java.lang.AbstractMethodError: null
[07/02/2001 23:07:47:082] (ERROR) an error returned handling request via
protocol "ajpv12"
***************************************

Any help / thoughts would be most appreciated.

Roger






--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to