----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hello,
I use:
Windows NT 4.0
Apache 1.3
Apache Jserv 1.1b3
Sorry, I don't mean to ask a stupid question, but I am baffled as to what I
have done wrong in setting up my Jserv configuration. I have read the faq
and tutorial, and readme, and installation guide, I think I have setup
everything correctly. Would appreciate if somebody can point out the stupid
thing that I must have done.
I am trying to run the Hello servlet provided with Jserv in the directory
Apache Jserv 1.1b3\example.
Here are the documents I changed:
Jserv.conf
it has:
ApJServMount /servlets /root
ApJServMount /servlet /root
I added:
ApJServMount /servlet/example /example
Jserv.properties
It has:
zones=root
root.properties=C:\Program Files\Apache Group\Apache JServ
1.1b3\servlets\zone.properties
I added example so it looks like:
zones=root, example
root.properties=C:\Program Files\Apache Group\Apache JServ
1.1b3\servlets\zone.properties
example.properties=C:\Program Files\Apache Group\Apache JServ
1.1b3\example\example.properties
example.properties
I added:
repositories=C:\Program Files\Apache Group\Apache JServ 1.1b3\example
I tried to access http://localhost/servlet/example/Hello and I got 404
notifying that URL servlet/example was not found.
I was able to access http://localhost/servlet/IsItWorking successfully.
If I move Hello.class to zone /root, it works successfully.
If I add the repository directory for example to the repository in
zone.properties, it works succesfully. Howcome is doesn't recognize my
ApJServMount? I restarted Apache several times with no luck.
Thanks for you patience and kind assistance.
-- karin --
--
--------------------------------------------------------------
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]