[ https://issues.apache.org/jira/browse/MTOMCAT-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy (*$^¨%`£) closed MTOMCAT-171. ------------------------------------------ Resolution: Fixed Fix Version/s: 2.0 patch applied. Thanks! > 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org