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 2004/12/30 10:00:40 UTC

DO NOT REPLY [Bug 32879] - Can't override value of init parameter during deployment

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32879


tfohrer@t-online.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From tfohrer@t-online.de  2004-12-30 10:00 -------
See tomcat 5.5/5.0 configuration reference.

"override	

Set this to false if you do not want a <context-param> for the same parameter 
name, found in the web application deployment descriptor, to override the value 
specified here. By default, overrides are allowed."

override = false => parameter from context.xml win
override = true => parameter from web.xml win 

Effect of your patch:
  Go through parameters (context.xml)
   If override = true
      Exist a web.xml parameter with same name?
       If yes 
         override it with value from context.xml parameter
   else
      Override/Add parameter (context.xml)

   


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org