<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Nuxeo remote jmx monitoring on Linux in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-remote-jmx-monitoring-on-linux/m-p/319053#M6054</link>
    <description>&lt;P&gt;I think so. Here is the Jira issue: &lt;A href="https://jira.nuxeo.com/browse/NXP-10021"&gt;NXP-10021&lt;/A&gt;. Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2012 17:53:35 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2012-09-04T17:53:35Z</dc:date>
    <item>
      <title>Nuxeo remote jmx monitoring on Linux</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-remote-jmx-monitoring-on-linux/m-p/319052#M6053</link>
      <description>&lt;P&gt;Now that Tomcat is the default Nuxeo distribution, I would recommend that page &lt;A href="http://doc.nuxeo.com/display/ADMINDOC/Monitoring" target="test_blank"&gt;http://doc.nuxeo.com/display/ADMINDOC/Monitoring&lt;/A&gt; be updated with instructions regarding how to configure and use Nuxeo JMX monitoring. I opened JIRA issue &lt;A href="https://jira.nuxeo.com/browse/NXDOC-155"&gt;NXDOC-155&lt;/A&gt; to address this.&lt;/P&gt;
&lt;P&gt;While attempting to configure remote JMX monitoring with the Linux Tomcat distribution, I encountered a need to set the "java.rmi.server.hostname" property to the server's external/public DNS name as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;-Djava.rmi.server.hostname=your.public.dns
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This need is described &lt;A href="http://gabenell.blogspot.com/2010/04/connecting-to-jmx-on-tomcat-6-through.html"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Since it is a common occurrence on Linux to have an internal DNS name that's different from the external/public DNS name, would it make sense to modify the bin/nuxeoctl script to calculate the server's external/public DNS name and set this property automatically? The HOST_FQDN could be calculated with code such as:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;HOST_FQDN=$(hostname -f)
HOST_DNS=$(host $HOST_FQDN | grep "has address")
if [ $? -eq 0 ]; then
   # Use host from DNS
   HOST_FQDN=$(echo $HOST_DNS | awk '{ print $1 }')
fi
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Would it make sense to calculate and set the java.rmi.server.hostname property in nuxeoctl?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 21:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-remote-jmx-monitoring-on-linux/m-p/319052#M6053</guid>
      <dc:creator>ron_1</dc:creator>
      <dc:date>2012-08-27T21:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo remote jmx monitoring on Linux</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-remote-jmx-monitoring-on-linux/m-p/319053#M6054</link>
      <description>&lt;P&gt;I think so. Here is the Jira issue: &lt;A href="https://jira.nuxeo.com/browse/NXP-10021"&gt;NXP-10021&lt;/A&gt;. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2012 17:53:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-remote-jmx-monitoring-on-linux/m-p/319053#M6054</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-09-04T17:53:35Z</dc:date>
    </item>
  </channel>
</rss>

