addParameter() instance method actually throws an
IllegalArgumentException if a duplicate name is used.

I came across this while attempting to setup Catalina behind Apache +
mod_webapp -- AFAICT, my setup is currently giving me the joy of
multiple initializations of Catalina.

Index: StandardContext.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
retrieving revision 1.87
diff -u -u -r1.87 StandardContext.java
--- StandardContext.java        2001/11/10 00:01:54     1.87
+++ StandardContext.java        2001/11/17 02:18:47
@@ -1506,8 +1506,7 @@
 
 
     /**
-     * Add a new context initialization parameter, replacing any existing
-     * value for the specified name.
+     * Add a new context initialization parameter.
      *
      * @param name Name of the new parameter
      * @param value Value of the new  parameter

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to