[ https://issues.apache.org/jira/browse/SOLR-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-1843. ---------------------------- Resolution: Fixed backported to 3x - r1227440 > JMX name collision when running multiple SOLR instances/webapps in the same > ServletContainer > -------------------------------------------------------------------------------------------- > > Key: SOLR-1843 > URL: https://issues.apache.org/jira/browse/SOLR-1843 > Project: Solr > Issue Type: Bug > Components: Build > Affects Versions: 1.4, 3.5 > Environment: Resin 3.1.6, possibly other application containers > Reporter: Constantijn Visinescu > Assignee: Hoss Man > Priority: Minor > Labels: jmx, resin > Fix For: 3.6, 4.0 > > Attachments: JmxMonitoredMap.java, SolrConfig.java > > Original Estimate: 0h > Remaining Estimate: 0h > > http://www.mail-archive.com/solr-user@lucene.apache.org/msg33921.html > When i run multiple independent SOLR webapps both with JMX enabled there > seems to be some sort of collision when registering Mbeans causing my > application server to throw exceptions for each mbean it tries to register > for all applications after the first. > This seems to be due to collision issue of sorts with both applications > trying to register their mbeans under the name "solr" > This patch fixes the issue by allowing the user to specify the name under > which MBeans are registered in solrconfig.xml like so: > <jmx rootName="mySolr" /> > i went with rootName since in the code the variable is called jmxRootName. > Constantijn Visinescu -- 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...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org