tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1037681 - /tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java
Date Mon, 22 Nov 2010 11:45:58 GMT
Author: markt
Date: Mon Nov 22 11:45:57 2010
New Revision: 1037681

URL: http://svn.apache.org/viewvc?rev=1037681&view=rev
Log:
Use correct MBean name for Mangers
Fix Eclipse niggle

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java

Modified: tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java?rev=1037681&r1=1037680&r2=1037681&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/StatusTransformer.java Mon Nov 22 11:45:57
2010
@@ -184,6 +184,7 @@ public class StatusTransformer {
                 writer.print(formatTime(new Long(result[12] / 1000), true));
                 writer.print("</p>");
             } else if (mode == 1){
+                // NO-OP
             }
         }
         
@@ -626,7 +627,7 @@ public class StatusTransformer {
             }
 
             ObjectName queryManager = new ObjectName
-                (objectName.getDomain() + ":type=Manager,path=" + contextName 
+                (objectName.getDomain() + ":type=Manager,context=" + contextName 
                  + ",host=" + hostName + ",*");
             Set<ObjectName> managersON =
                 mBeanServer.queryNames(queryManager, null);



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


Mime
View raw message