costin 2003/02/16 17:41:19 Modified: http11/src/java/org/apache/coyote/http11 Http11Protocol.java Log: Cosmetic changes in the jmx names ( this isn't used in admin/) Revision Changes Path 1.21 +5 -3 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.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- Http11Protocol.java 20 Jan 2003 23:47:05 -0000 1.20 +++ Http11Protocol.java 17 Feb 2003 01:41:19 -0000 1.21 @@ -164,7 +164,7 @@ if( this.domain != null ) { try { Registry.getRegistry().registerComponent(tp, domain,"ThreadPool", - "type=ThreadPool,worker=http11,name=http%" + ep.getPort()); + "type=ThreadPool,name=http" + ep.getPort()); } catch (Exception e) { log.error("Can't register threadpool" ); } @@ -386,13 +386,15 @@ global=new RequestGroupInfo(); Registry.getRegistry().registerComponent( global, proto.getDomain(), "GlobalRequestProcessor", - "type=GlobalRequestProcessor,name=http"); + "type=GlobalRequestProcessor,name=http" + + proto.ep.getPort()); } RequestInfo rp=processor.getRequest().getRequestProcessor(); rp.setGlobalProcessor(global); Registry.getRegistry().registerComponent( rp, proto.getDomain(), "RequestProcessor", - "type=RequestProcessor,name=HttpRequest" + count++ ); + "type=RequestProcessor,worker=http" + + proto.ep.getPort() +",name=HttpRequest" + count++ ); } catch( Exception ex ) { log.warn("Error registering request"); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]