tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Trivial Update of "HowTo" by newacct
Date Sat, 29 Oct 2011 02:41:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "HowTo" page has been changed by newacct:
http://wiki.apache.org/tomcat/HowTo?action=diff&rev1=114&rev2=115

                  }
                  catch(Exception e)
                  {
-                         out.println(e.toString());
+                         out.println(e);
                  }
  
                  // Restore original STDOUT and STDERR
@@ -986, +986 @@

  
          ArrayList<MBeanServer> mbservers = MBeanServerFactory.findMBeanServer(null);
          System.out.println("****** TOMCAT'S LIST OF REGISTERED MBEANSERVERS ********** ");
-         System.out.println(mbservers.toString());
+         System.out.println(mbservers);
  
          System.out.println("****** TRYING TO RETRIEVE MY OWN MBEANSERVER FROM ITS AgentId
********** ");
          ArrayList<MBeanServer> mbservers_2 = MBeanServerFactory.findMBeanServer("myMBServer");
-         System.out.println(mbservers_2.toString());
+         System.out.println(mbservers_2);
  
  
          if (mbservers.size() > 0) {

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


Mime
View raw message