Thanks for the help.  I was just going to use the Default context for
development.  But I can do it the correct way.

osubb



Caldarale, Charles R wrote:
> 
>> From: osubb [mailto:[EMAIL PROTECTED] 
>> Subject: RE: Configuring Default ROOT Context
>>
>> I uncommented the "invoke servlet" sections in web.xml
> 
> Don't ever, ever do that; read the comments about the Invoker servlet in
> the FAQ:
> http://wiki.apache.org/tomcat/FAQ/Miscellaneous
> 
>> I made these changes:
>> context.xml:
>>   <Context path="" docBase="ROOT" reloadable="true"/>
> 
> *Read the doc links you were supposed to.*  (And ignore everything you
> read in that horribly outdated book you were supposed to throw away.)
> If you changed conf/context.xml, you broke your installation.    If you
> changed the one in your webapp's META-INF directory, the changes were
> ignored.  Unless your <Context> element is in server.xml - where it
> never should be - the path and docBase attributes aren't allowed.  You
> likely don't need a <Context> element at all - most webapps don't.
> 
> If you want to run your webapp as the default, just replace the contents
> of Tomcat's existing webapps/ROOT directory with your webapp, and it
> will become the default.  You will need proper servlet mappings in
> WEB-INF/web.xml, of course.  Read the servlet spec or look at the
> examples that come with Tomcat to see how to do it.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Configuring-Default-ROOT-Context-tp15595290p15624740.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to