On Wed, Jun 15, 2011 at 7:41 AM, kun xiong <xiongku...@gmail.com> wrote: > Hi, > > I am wondering how to start JMX monitor without code change. > > Currently, I have to insert code "LocateRegistry.createRegistry(9999);" into > SolrCore.java. > > And I specify <jmx > serviceUrl="service:jmx:rmi:///jndi/rmi://localhost:9999/solr/${ > solr.core.name}"/> at solrconfig.xml. > > Can I make it by only configuration change?
Please take a look at http://wiki.apache.org/solr/SolrJmx While this mainly covers JMX configuration for the built-in Jetty server, you can use the described JMX parameters for other containers, like Tomcat. Regards, Gora