tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: change in local directory deployment behavior between 5.5 and 6
Date Fri, 20 Jul 2007 03:56:10 GMT
> From: Alice Young [mailto:aliceyoung44@yahoo.com] 
> Subject: Re: change in local directory deployment behavior 
> between 5.5 and 6
>
> I've looked into it some more and it seems like I need to
> create a custom context.xml. However I can't seem to find
> much information on how to do this at all, in the tomcat
> docs or in the tomcat-related books that I have.

You certainly had one before, although it may have been created
automatically during the deployment.  Whatever script you're using
should also have created it for Tomcat 6.

Most books have not caught up to Tomcat 5.5, let alone 6.  In any event,
the doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

Basically, you need to create a file named ROOT.xml in
conf/Catalina/[host]; within that file you need to have a <Context>
element with a docBase attribute pointing to the actual location of your
webapp (c:/myapp/WebRoot, apparently).  You may need other attributes as
well; that depends on the webapp.

You must also delete Tomcat's regular webapps/ROOT directory and
everything in 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message