tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MTOMCAT-171) Multiple executions (i.e. sep tomcats clash due to identical JMX naming)
Date Mon, 30 Jul 2012 18:41:36 GMT

    [ https://issues.apache.org/jira/browse/MTOMCAT-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425118#comment-13425118
] 

Hudson commented on MTOMCAT-171:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #184 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/184/])
    [MTOMCAT-171] Multiple executions (i.e. sep tomcats clash due to identical JMX naming)
Submitted by Neale Upstone. (Revision 1367193)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1367193
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java

                
> Multiple executions (i.e. sep tomcats clash due to identical JMX naming)
> ------------------------------------------------------------------------
>
>                 Key: MTOMCAT-171
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-171
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6
>            Reporter: Neale Upstone
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 2.0
>
>         Attachments: mtomcat-171.patch
>
>
> If two executions are configured, for example to create two tomcat instances running
on separate ports, these do not behave independently, as they get identified to JMX using
the same names.
> Some disambiguation is required, for which the httpPort might be enough (this works for
me for tomcat6)
>                  // create engine
>                  Engine engine = container.createEngine();
> -                engine.setName( "localEngine" );
> +                engine.setName( "localEngine-" + port);
>                  engine.addChild( host );
>                  engine.setDefaultHost( host.getName() );

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message