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:38:32 UTC

[Bug 55613] 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

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