Thanks.

It works now. Actually,  I had commented out the directive in the
zone.properties file. Sorry, my mistake.

Thanks a lot
Gaurav

Chak Chakravarthy wrote:

> As I understood fromt the Apache documentation,
>
> > What does 'name' implies in the followng directive:
> > ApJServMount [name] [jserv-url]
>
> [name] is the servlet directory point that you see/type on your browser to
> make the call to the servlet.
>
> If I have 'ApJServMount /myservlets /new-servlet-directory'  then I will be
> invoking the servlet class files by mentioning the URL as
> http://localhost/myservelets
>
> Jserv will search for /new-serve-let zone entry in your jserv.properties
> file and try to load the appropriate class file from the appropriate
> 'repositories'  location.
>
> Also, just check for any typos in your entries ?  & directory permissions ?
> Because, to me the problem is looking very straight forward.
>
> - Chak.
>
> -----Original Message-----
> From: Gaurav Kishore [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 25, 1999 3:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Zone configuration in Apache JServ
>
> Thanks for the response.
>
> Yes I did stop and start the server. But, that didn't work.
> Also, the 'development' zone is not listed on the jserv status page.
>
> Do I need to have a different mount point for each servlet zone? As I am not
> very  experienced in Unix lingo, the word 'Mount Point' is not clear to me.
>
> Maybe I am not giving the 'ApJServMount' directive correctly.
>
> What does 'name' implies in the followng directive:
> ApJServMount [name] [jserv-url]
>
> Once again thanks in advance
> Gaurav
>
> Chak Chakravarthy wrote:
>
> > The entries seem to be correct and I have just two questions.
> >
> > 1. Did you restart your server ?
> > 2. Can you find the new zone 'development' that you created in Jserv
> status
> > window ? There is a way to query the Jserv itself to know more about how
> may
> > zones it is currently configured to etc. and what are they pointing to
> etc.
> >
> > I was able to create new zones and was able to execute the servlets !
> >
> > - Chak.
> >
> > -----Original Message-----
> > From: Gaurav Kishore [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 25, 1999 12:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: Zone configuration in Apache JServ
> >
> > Hi,
> > Though this question is more related to Apache JServ Zone configuration,
> > than to servlet programming but I am taking the liberty to ask it. If
> > this is not the correct place for it, kindly disregrad it.
> >
> > I am trying to create a servlet zone using the follwing statement in
> > different files in JServ, by default there was already one zone named
> > 'servlets'.
> >
> > # The httpd.conf has the following statement -
> >
> > ApJServMount /servlets /servlets
> > ApJServMount /development /development
> >
> > # The jserv.properties file has the following statements :
> >
> > zones=servlets,development
> > servlets.properties=/usr/local/apache/conf/jserv.servlets.properties
> > development.properties=/usr/local/apache/conf/jserv.development.properties
> >
> > # The jserv.servlets.properties has the following statements :
> >
> > repositories=/usr/local/apache/htdocs/servlets
> >
> > # and the jserv.development.properties has the following statements :
> >
> > repositories=/usr/local/apache/htdocs/development
> >
> > I have also created a directory named 'development' in
> > /usr/local/apache/htdocs.
> >
> > But, the problem is that I am not able to access any servlet from this
> > 'development' servlet zone, the error says -
> > "The requested URL /development/HelloWorldServlet was not found on this
> > server"
> >
> > What is that which I am doing wrong?
> > Any help is appreciated and thanks in advance.
> >
> > Thanks
> > Gaurav
> >
> >
> ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to