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 2013/09/30 20:30:51 UTC
[Bug 55613] New: Contexts in webapp/META-INF should be observed even
if an equivalent Context appears in server.xml
https://issues.apache.org/bugzilla/show_bug.cgi?id=55613
Bug ID: 55613
Summary: Contexts in webapp/META-INF should be observed even if
an equivalent Context appears in server.xml
Product: Tomcat 7
Version: trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: tonyw@totspics.com
Contexts in webapp/META-INF should be honoured even if an equivalent
--
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
[Bug 55613] Contexts in webapp/META-INF should be observed even if
an equivalent Context appears in server.xml
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55613
Tony Weston <to...@totspics.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Tony Weston <to...@totspics.com> ---
CONSIDER THE FOLLOWING:
In tomcat/conf/server.xml
...
<Context path="myapp">
<Parameter name="parm1" value="live"/>
</Context>
...
In the webapp's META-INF/context.xml
<Context>
<Parameter name="parm2" value="helloworld"/>
</Context>
WHAT SHOULD HAPPEN:
Both parameters 'parm1' and 'parm2' should be visible from the webapp.
WHAT ACTUALLY HAPPENS:
Only parm1 is visible from the webapp. The webapps context is completely
ignored.
--
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
[Bug 55613] Contexts in webapp/META-INF should be observed even if
an equivalent Context appears in server.xml
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55613
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
By design, if a Context is defined in server.xml then that context is excluded
from the auto deployment process so neither an xml file in the config base nor
an XML file in the WAR (or a directory) is considered.
--
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