> From: Rob Tanner [mailto:[EMAIL PROTECTED] > Subject: Re: Problem deploying existing webapp in new Tomcat container > > the first thing I did was to add the path > ${CATALINA_HOME}/conf/Catalina/localhost.
What does "add the path" mean? That directory should have already existed. > I created one xml file named: mailtools#aliases.xml since the > context path is multi-level (the path is "/mailtools/aliases" > -- I presume that's what was meant by multi-level in the doc) > for the first webapp and accntManager.xml for the seconf app. You didn't say so explicitly, but I presume you placed these .xml files in conf/Catalina/localhost. > <Context crossContext="true" debug="0" > docBase="GroupAliases" path="/mailtools/aliases" reloadable="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="localhost_aliases_log." suffix=".txt" timestamp="true"/> > </Context> > <Context crossContext="true" debug="0" > docBase="AccountManager" path="/accntManager" reloadable="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="localhost_accntmanager_log." suffix=".txt" > timestamp="true"/> > </Context> The path attribute is not allowed - get rid of it. A docBase attribute relative to appBase is also not allowed, so get rid of that. As at least two people have told you, the <Logger> element is no longer allowed, so that goes as well. (You can configure individual webapp logging by following the doc here: http://tomcat.apache.org/tomcat-6.0-doc/logging.html.) So now we're left with just: <Context crossContext="true" debug="0" reloadable="true"> </Context> for each webapp. However, that's not going to work for the multi-level path one. Any app using a multi-level path cannot be placed under the <Host>'s appBase - it must be located elsewhere, or double deployments can occur. Let's assume you'll put it in ${CATALINA_HOME}/otherapps; your <Context> for mailtools#aliases.xml now becomes: <Context crossContext="true" debug="0" reloadable="true"> docBase="${catalina.home}/otherapps/GroupAliases" </Context> (The above assumes you have an unpacked webapp, not a .war file.) For the second webapp, simply rename the directory from AccountManager to accntManager; if you're going to deploy under the appBase directory, the name of the sub-directory (or .war file) IS the URI path to the webapp - no exceptions. If you want something different, the webapp must be located somewhere other than under appBase. - 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]