You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/03/31 11:13:35 UTC
[Solr Wiki] Update of "SolrJmx" by AntonioSantos
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "SolrJmx" page has been changed by AntonioSantos.
The comment on this change is: Clarify the use of java.rmi.server.hostname.
http://wiki.apache.org/solr/SolrJmx?action=diff&rev1=11&rev2=12
--------------------------------------------------
-Dcom.sun.management.jmxremote.authenticate=false
}}}
+ If you are not able to connect from a remote machine, take in account that you may also need to specify the hostname of the solr host by adding the following property as well:
+ {{{
+ -Djava.rmi.server.hostname=IP_OR_HOSTNAME
+ }}}
+
'''NB:''' making JMX connections into machines running behind NATs (e.g. Amazon's EC2 service) is not a simple task. The [[http://java.sun.com/j2se/1.4.2/docs/guide/rmi/javarmiproperties.html|java.rmi.server.hostname]] system property may help, but running JConsole on the server itself and using a remote desktop is often the simplest solution. See [[http://jmsbrdy.com/monitoring-java-applications-running-on-ec2-i|Monitoring Java applications running on EC2 instances using JMX]].
<<Anchor(where)>>