---------------------------------------------------------------- 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!!! ---------------------------------------------------------------- Thank you much for the help. I followed your advice about ApJServMount naming and found out that ApJServMount /example /example doesn't work and ApJServMount /servlet/example /example doesn't work as you noted, but ApJServMount /myexample /example works and ApJServMount /myexample/servlet /example works. So, the moral of the story is: 1. JServ URI cannot be the same as the zone name 2. JServ URI cannot start with the same name as an existing JServ URI I wished it was noted in the comments for the JServ.properties. Thanks again for all the help! -- karin -- -----Original Message----- From: Roland Becker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 15, 2000 1:56 AM To: Java Apache Users Subject: Re: beginner's question on Jserv Setup ---------------------------------------------------------------- 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 'servlet' is already a name of servlet zone - try ApJServMount /example /example instead and you should be able to access the servlet as http://localhost/example/Hello. I don't know, if you can specify any subpath's at ApJServMount, I never tried, but it surely must have a different name than any existing servlet zone. Hope, this works, Roland > > 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] > -- -------------------------------------------------------------- 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] -- -------------------------------------------------------------- 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]