Hi John,

Thanks for the suggestion, but... I can't find it.  Creating a <Context> entry is 
introduced but not really explained.  The paragraph you mention is this:

"""
    * Add a <Context> entry in the $CATALINA_HOME/conf/server.xml configuration file. 
This approach is described briefly below, and allows you to position the document root 
of your web application at some point other than the $CATALINA_HOME/webapps/ 
directory. You will need to restart Tomcat to have changes in this configuration file 
take effect. See the administrator documentation (TODO: hyperlink) for more 
information on configuring new Contexts in this way.
"""

I seem to be missing part of the docs.  I would copy the one for "examples" webapp 
except that this is a very big <Context> node with a lot of details that I don't 
understand.  Is the "Administrators Guide" available online somewhere?


Erik






> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 11:35 AM
> To: Price, Erik; [EMAIL PROTECTED]
> Subject: RE: newbie Q
> 
> 
> 
> It's here:
> 
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html
> 
> You want the part that says "Add a <Context> entry in the
> $CATALINA_HOME/conf/server.xml configuration file", fifth 
> paragraph under
> "Deployment with Tomcat 4".  You can also use server.xml's 
> entries for the
> /examples directory/app as an example.
> 
> John
> 
> 
> > -----Original Message-----
> > From: Price, Erik [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 20, 2002 11:01 AM
> > To: Turner, John; Enok Strine ; [EMAIL PROTECTED]
> > Subject: RE: newbie Q
> > 
> > 
> > No, I have read through the guide for my distribution (4.0.6)
> > and I cannot find an explanation of how to configure server.xml
> > for a new webapp that I have created.  (Though I did create the
> > webapp along the guidelines provided in the Application
> > Developer's Guide, so that should be all set once I can get
> > Tomcat to recognize that there is a new webapp there.)
> > 
> > If anyone can help me with this, that'd be much appreciated
> > (CC me as I am a digester), thank you.
> > 
> > 
> > Erik
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 19, 2002 10:05 PM
> > > To: 'Enok Strine '; '[EMAIL PROTECTED] '
> > > Subject: RE: newbie Q
> > > 
> > > 
> > >  
> > > More than likely, your questions are answered in the 
> > > documentation.  Perhaps
> > > things like the Application Developer's Guide would help:
> > > 
> > > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
> > > 
> > > John
> > > 
> > > -----Original Message-----
> > > From: Enok Strine
> > > To: [EMAIL PROTECTED]
> > > Sent: 11/19/02 10:01 PM
> > > Subject: Re: newbie Q
> > > 
> > > 
> > > I see. So the directories you talk of are not yet present, 
> > > presumably I 
> > > create them at my leisure?
> > >     What about ROOT? Why when I create 
> > > webapps/mydir/myfile.jsp and load
> > > it 
> > > into the browser is it not accessible? (404) Must I define a 
> > > WEB-INF for
> > > 
> > > each app under webapps? What must it contain?
> > > 
> > > Thank you
> > > 
> > > E.
> > > 
> > > 
> > > >yes, each webapp has its own web.xml, you can use that 
> among other
> > > things 
> > > >to define your servlets, taglibs, resource-refs.
> > > >unjared classes go into /WEB-INF/classes directory, jars go into 
> > > >/WEB-INF/lib
> > > >How long a web.xml can be depends on how many things you 
> > > wish to put in
> > > 
> > > >there. I think the tomcat doc has a section on best practices
> > > deployment. 
> > > >It *should* come with your installation of tomcat.
> > > >
> > > >Enok Strine wrote:
> > > >
> > > >>Hi folks,
> > > >>    I have installed TC 4.1 and have it apprently installed 
> > > correctly.
> > > Can 
> > > >>anyone tell me the significance of the WEB-INF dir please?
> > > >>    Also, must everything run under webapps/root/..? I am 
> > presuming 
> > > >>WEB-INF holds configuration / class libraries for each app? 
> > > Yet there
> > > is a 
> > > >>single web.xml, file 6 lines in length?
> > > >>    Will someone please enlighten me?
> > > >>
> > > >>E.
> > > >>
> > > 
> >>_________________________________________________________________
> > > >>The new MSN 8: advanced junk mail protection and 2 months FREE* 
> > > >>http://join.msn.com/?page=features/junkmail
> > > >>
> > > >>
> > > >>--
> > > >>To unsubscribe, e-mail:   
> > > >><mailto:[EMAIL PROTECTED]>
> > > >>For additional commands, e-mail: 
> > > >><mailto:[EMAIL PROTECTED]>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >--
> > > >To unsubscribe, e-mail:   
> > > ><mailto:[EMAIL PROTECTED]>
> > > >For additional commands, e-mail: 
> > > ><mailto:[EMAIL PROTECTED]>
> > > 
> > > 
> > > _________________________________________________________________
> > > MSN 8 with e-mail virus protection service: 2 months FREE* 
> > > http://join.msn.com/?page=features/virus
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > 
> > 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to