tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r940283 - /tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java
Date Sun, 02 May 2010 18:10:12 GMT
Author: markt
Date: Sun May  2 18:10:12 2010
New Revision: 940283

URL: http://svn.apache.org/viewvc?rev=940283&view=rev
Log:
No longer need ServerLifecycleListener

Modified:
    tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java

Modified: tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java?rev=940283&r1=940282&r2=940283&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java (original)
+++ tomcat/trunk/test/org/apache/catalina/mbeans/RegistrationTest.java Sun May  2 18:10:12
2010
@@ -45,8 +45,6 @@ public class RegistrationTest extends To
         assertEquals("Remaining: " + onames, 0, onames.size());
 
         final Tomcat tomcat = getTomcatInstance();
-        // need to register a ServerLifecycleListener otherwise only a few MBeans are registered

-        tomcat.getServer().addLifecycleListener(new ServerLifecycleListener());
         final File contextDir = new File("output/webappFoo");
         contextDir.mkdir();
         tomcat.addContext("/foo", contextDir.getAbsolutePath());



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


Mime
View raw message