tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector SaveConnectorAction.java
Date Mon, 06 Oct 2003 22:11:31 GMT
amyroh      2003/10/06 15:11:31

  Modified:    webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector
                        SaveConnectorAction.java
  Log:
  Check connectors with the same port number under different domain.
  
  Revision  Changes    Path
  1.10      +8 -5      jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/SaveConnectorAction.java
  
  Index: SaveConnectorAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/connector/SaveConnectorAction.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SaveConnectorAction.java	21 Sep 2003 23:08:15 -0000	1.9
  +++ SaveConnectorAction.java	6 Oct 2003 22:11:31 -0000	1.10
  @@ -180,10 +180,13 @@
                   ObjectName soname = new ObjectName(serviceName);
                   String domain = soname.getDomain();
                   StringBuffer sb = new StringBuffer(domain);
  +                StringBuffer searchSB = new StringBuffer("*");
                   sb.append(TomcatTreeBuilder.CONNECTOR_TYPE);
  +                searchSB.append(TomcatTreeBuilder.CONNECTOR_TYPE);
                   sb.append(",port=" + cform.getPortText());
  +                searchSB.append(",port=" + cform.getPortText());
                   
  -                ObjectName search = new ObjectName(sb.toString()+",*");
  +                ObjectName search = new ObjectName(searchSB.toString()+",*");
                   
                   String address = cform.getAddress();
                   if ((address!=null) && (address.length()>0) && 
  
  
  

---------------------------------------------------------------------
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