You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Da...@rnib.org.uk on 2004/07/06 12:27:56 UTC

tc 5.019, web app deployment location?

I'm confused over terminology.

The 'root' application seems to reside at ${catalina.home}/webapps/ROOT
Logically then (with a tree analogy)
  other web apps would reside within that directory?
  Some of the documentation seems to imply they should
  be in ${catalina.home}/webapps/myapp, for instance.
  I.e. all reside directly beneath ${catalina.home}/webapps/

If there are alternatives, where is it specified please?
>From //tomcat-docs/config/host.html#Automatic%20Application%20Deployment

"Any XML file in the $CATALINA_HOME/conf/[engine_name]/[host_name]
directory is assumed to contain a Context element (and its associated
subelements) for a single web application. The docBase attribute of
this <Context> element will typically be the absolute pathname to a
web application directory, or the absolute pathname of a web
application archive (WAR) file (which will not be expanded)."

Which implies that *where* they should be is quite flexible,
but I'm unsure?


Regards DaveP.

**** snip here *****

-- 
DISCLAIMER: 

NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged. If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system. 

RNIB endeavours to ensure that emails and any attachments generated by 
its staff are free from viruses or other contaminants. However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments. 

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent 
those of RNIB. 

RNIB Registered Charity Number: 226227 

Website: http://www.rnib.org.uk 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tc 5.019, web app deployment location?

Posted by Chong Yu Meng <ch...@cymulacrum.net>.
Hi David,

I wrote a tutorial on Tomcat here : 
http://cymulacrum.net/writings/tomcat5/book1.html

Hope this helps.

Regards,
pascal chong


David.Pawson@rnib.org.uk wrote:

>I'm confused over terminology.
>
>The 'root' application seems to reside at ${catalina.home}/webapps/ROOT
>Logically then (with a tree analogy)
>  other web apps would reside within that directory?
>  Some of the documentation seems to imply they should
>  be in ${catalina.home}/webapps/myapp, for instance.
>  I.e. all reside directly beneath ${catalina.home}/webapps/
>
>If there are alternatives, where is it specified please?
>>>From //tomcat-docs/config/host.html#Automatic%20Application%20Deployment
>
>"Any XML file in the $CATALINA_HOME/conf/[engine_name]/[host_name]
>directory is assumed to contain a Context element (and its associated
>subelements) for a single web application. The docBase attribute of
>this <Context> element will typically be the absolute pathname to a
>web application directory, or the absolute pathname of a web
>application archive (WAR) file (which will not be expanded)."
>
>Which implies that *where* they should be is quite flexible,
>but I'm unsure?
>
>
>Regards DaveP.
>
>**** snip here *****
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org