-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

First, some details:
Apache JServ 1.0
Apache 1.3.9
Win NT4.0SP5

I can't seem to use other zones apart from the root zone, and I can't
get the jserv status stuff to work if I get rid of the root zone (by
renaming it to 'blah', for example).  I change the entry in
mod_jserv.conf, which is included from httpd.conf, that says 
ApJServMount /servlets /root to
ApJServMount /servlets /blah

Then I go into the ApJServProperties file that is specified in
mod_jserv.conf, and change all references to the zone root to be the
zone blah: so that I change the zones=root to zones=blah and I also
change root.properties=... to blah.properties=...

When I then try to go to localhost:8080/jserv/ and go to the mapped
local servlet engines (to .../jserv/engine/0/), it gives me a Not
Found error, saying that /jserv/engine/0/ was not found.  The
mod_jserv log then tells me that Servlet zone "blah" not found. Am I
doing something wrong?  The same thing happens if I try to add a new
zone, besides root (doing this by having zones=root,other and adding
an other.properties entry, plus a URL mapping).

One other thing.  I've been trying to get a servlet to work in the
root zone.  In this case, I modify the IsItWorking (which was
working), to implement an interface.  Should I be able to do this?  I
have it do an import, then add implements MyInterface.  The interface
appears to be in the classpath (I add it to jserv.properties:
wrapper.classpath=g:\java).  But when I try to run it, I get a Not
Found error.  The mod_jserv log says
"NoClassDefFoundError: IsItWorking"
I've also tried adding the path to the interface to the repositories
entry, but it doesn't work.  In this case, I get an error of:
(EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007, 
then (EMERGENCY) ajp11: connection fail,
then error returned handling request via protocol ajpv11
I assume these are all related.

What am I doing wrong?

Thanks,
Andrew.


--
--------------------------------------------------------------
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]

Reply via email to