tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ro├čbach ...@objektpark.de>
Subject Re: svn commit: r937325 - in /tomcat/trunk/java/org/apache: catalina/ha/session/DeltaManager.java el/lang/ExpressionBuilder.java
Date Mon, 26 Apr 2010 09:28:09 GMT
Hi Mark,

bad fix! The method getValves() only exists at CatalinaCluster!

peter

Am 23.04.2010 um 17:09 schrieb markt@apache.org:

> Modified: tomcat/trunk/java/org/apache/catalina/ha/session/ 
> DeltaManager.java
> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?rev=937325&r1=937324&r2=937325&view=diff
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- tomcat/trunk/java/org/apache/catalina/ha/session/ 
> DeltaManager.java (original)
> +++ tomcat/trunk/java/org/apache/catalina/ha/session/ 
> DeltaManager.java Fri Apr 23 15:09:58 2010
> @@ -882,7 +882,7 @@ public class DeltaManager extends Cluste
>         if(replicationValve == null) {
>             if(container instanceof StandardContext &&  
> ((StandardContext)container).getCrossContext()) {
>                 Cluster cluster = getCluster() ;
> -                if(cluster != null && cluster instanceof  
> CatalinaCluster) {
> +                if(cluster != null) {
>                     Valve[] valves =  
> ((CatalinaCluster)cluster).getValves();
>                     if(valves != null && valves.length > 0) {
>                         for(int i=0; replicationValve == null && i <  
> valves.length ; i++ ){


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message