tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: path Attribute for Context Element
Date Mon, 02 Apr 2007 17:55:06 GMT
Stefan Duffner wrote:

> Hi,
>
> I try to add a new webapplication to a Tomcat in version 5.5.23. I add 
> an own context.xml, which contains some jndi configuration for the 
> tomcat connection pool. I deployed this webapplication into my 
> application directory as subdirectory named appl. This works fine, my 
> application is starting.
>
> Now I want to change the context name from appl into "", which works 
> with tomcat 4, but not with this Tomcat's version. I tried the following:
>
> - add path attribute to element context inside context.xml of the 
> META-INF directory of the webapplication
> - add appl.xml into |the following path 
> $CATALINA_HOME/conf/[enginename]/[hostname]/ with own path element, too.
> - add own element context inside server.xml also with empty path element
>
> Thanks for any suggestions
> |
>
Rename appl.xml in $CATALINA_HOME/conf/[enginename]/[hostname] to 
ROOT.xml.  ROOT is the special name of the default (aka "/") webapp.

--David

---------------------------------------------------------------------
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