tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Protocol.java
Date Mon, 28 Jul 2003 11:24:16 GMT
remm        2003/07/28 04:24:16

  Modified:    http11/src/java/org/apache/coyote/http11 Http11Protocol.java
  Log:
  - Beautify the thread names.
  
  Revision  Changes    Path
  1.31      +1 -0      jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java
  
  Index: Http11Protocol.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- Http11Protocol.java	11 Jul 2003 01:06:04 -0000	1.30
  +++ Http11Protocol.java	28 Jul 2003 11:24:16 -0000	1.31
  @@ -185,6 +185,7 @@
                   // XXX It should be possible to use a single TP
                   tpOname=new ObjectName(domain + ":" + "type=ThreadPool,name=http" + ep.getPort());
                   Registry.getRegistry().registerComponent(tp, tpOname, null );
  +                tp.setName("http" + ep.getPort());
                   tp.addThreadPoolListener(new MXPoolListener(this, tp));
               } catch (Exception e) {
                   log.error("Can't register threadpool" );
  
  
  

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