tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp SimpleTcpCluster.java
Date Thu, 05 Aug 2004 14:18:37 GMT
fhanik      2004/08/05 07:18:37

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/tcp
                        SimpleTcpCluster.java
  Log:
  Fixed broken startup method
  
  Revision  Changes    Path
  1.47      +2 -2      jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/SimpleTcpCluster.java
  
  Index: SimpleTcpCluster.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/SimpleTcpCluster.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- SimpleTcpCluster.java	28 Jul 2004 18:02:15 -0000	1.46
  +++ SimpleTcpCluster.java	5 Aug 2004 14:18:37 -0000	1.47
  @@ -353,7 +353,7 @@
                   (sm.getString("cluster.alreadyStarted"));
           log.info("Cluster is about to start");
           try {
  -            IntrospectionUtils.callMethod1(getContainer(), "addValve", valve, null, null);
  +            IntrospectionUtils.callMethodN(getContainer(), "addValve", new Object[]  {valve},
new Class[] {valve.getClass()});
               clusterReceiver.setIsSenderSynchronized(clusterSender.getIsSenderSynchronized());
               clusterReceiver.setCatalinaCluster(this);
               clusterReceiver.start();
  
  
  

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


Mime
View raw message