You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/12/16 01:25:48 UTC
DO NOT REPLY [Bug 48394] Support for "path" attribute in context.xml
https://issues.apache.org/bugzilla/show_bug.cgi?id=48394
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-12-15 16:25:45 GMT ---
Such a change is likely to result in unwanted double deployment for many users
as well as significantly complicating the auto (un)deployment logic.
Defining contexts in server.xml is not deprecated. It is discouraged for those
use cases where the context could be defined outside server.xml
One possible solution would be to place your war files outside of the host's
appBase and use context.xml files in CATALINA_BASE/conf/Catalina/localhost. The
path will be derived from the name of the xml file but the WAR file can be
named whatever you like.
Another solution is to disable autoDeploy and deployOnStartup for the host and
explicitly define the contexts in server.xml
If you need further advice on your options in this area, please ask on the
users list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org