tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1367193 - /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
Date Mon, 30 Jul 2012 18:02:51 GMT
Author: olamy
Date: Mon Jul 30 18:02:51 2012
New Revision: 1367193

URL: http://svn.apache.org/viewvc?rev=1367193&view=rev
Log:
[MTOMCAT-171] Multiple executions (i.e. sep tomcats clash due to identical JMX naming)
Submitted by Neale Upstone.

Modified:
    tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java

Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java?rev=1367193&r1=1367192&r2=1367193&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
(original)
+++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
Mon Jul 30 18:02:51 2012
@@ -809,7 +809,7 @@ public abstract class AbstractRunMojo
 
                 // create engine
                 Engine engine = container.createEngine();
-                engine.setName( "localEngine" );
+                engine.setName( "localEngine-" + port );
                 engine.addChild( host );
                 engine.setDefaultHost( host.getName() );
                 container.addEngine( engine );



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


Mime
View raw message