2010/2/10 Jan Simon Winkelmann <winkelm...@newsfactory.de>: > I am (still) trying to get JMX to work. I have finally managed to get a Jetty > installation running with the right parameters to enable JMX. Now the next > problem appeared. I need to get Solr to register ist MBeans with the Jetty > MBeanServer. Using <jmx > serviceUrl="service:jmx:rmi:///jndi/rmi:///jettymbeanserver" />, Solr doesn't > complain on loading, but the MBeans simply don't show up in JConsole, so I > would like to use <jmx agentId="<agentId>" />. But where do I get the > agentId? And what exactly does this Id represent? Does it change every time I > restart Jetty?
I just have <jmx /> in solrconfig.xml. On command line I start solr with this: $ java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -jar start.jar In jconsole I can browse the solr beans just fine. Thanks for that, it appears my thinking was just too complicated here. Works fine now :) Best Jan