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/catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java
Date Thu, 17 Apr 2003 01:29:10 GMT
amyroh      2003/04/16 18:29:10

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        MBeanFactory.java
  Log:
  Minor fix to remove redundant start and get the right property.
  
  Revision  Changes    Path
  1.13      +5 -6      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java
  
  Index: MBeanFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- MBeanFactory.java	8 Apr 2003 22:37:40 -0000	1.12
  +++ MBeanFactory.java	17 Apr 2003 01:29:09 -0000	1.13
  @@ -872,7 +872,6 @@
           // Add the new instance to its parent component
           Server server = ServerFactory.getServer();
           server.addService(service);
  -        engine.start();
           Vector onames = new Vector();
           // FIXME service & engine.getObjectName
           //ObjectName oname = engine.getObjectName();
  @@ -1278,7 +1277,7 @@
   
           // Acquire a reference to the component to be removed
           ObjectName oname = new ObjectName(name);
  -        String serviceName = oname.getKeyProperty("name");
  +        String serviceName = oname.getKeyProperty("serviceName");
           Server server = ServerFactory.getServer();
           Service service = server.findService(serviceName);
   
  
  
  

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