Author: markt
Date: Thu Apr 30 11:29:03 2009
New Revision: 770169

URL: http://svn.apache.org/viewvc?rev=770169&view=rev
Log:
JMX expects service name and engine name to be the same.

Modified:
    tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java

Modified: tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java?rev=770169&r1=770168&r2=770169&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/Tomcat.java Thu Apr 30 
11:29:03 2009
@@ -359,7 +359,7 @@
         if(engine == null ) {
             getServer();
             engine = new StandardEngine();
-            engine.setName( "default" );
+            engine.setName( "Tomcat" );
             engine.setDefaultHost(hostname);
             service.setContainer(engine);
         }



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

Reply via email to