<div dir="ltr">Hi,<div>jboss doesn't use standard jmx protocol but it's own remoting protocol.</div><div>I remember working around it by taking jboss-client.jar from jboss and rebuilding jmxsh.jar. It also required a bit of a code change to get jmxsh use it. At the end I abandoned the idea of using this approach because the remoting client seemed to have a memory leak, using up all the heap space - basically the monitoring was killing jboss apps.</div><div><br></div><div>Have a look at Jolokia <a href="https://jolokia.org/">https://jolokia.org/</a><br>It should allow you to query JMX over HTTP.</div><div><br></div><div>Regards,</div><div>Martin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 March 2017 at 23:14,  <span dir="ltr"><<a href="mailto:xymon@asitshouldbe.com" target="_blank">xymon@asitshouldbe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to set up jmxstat from <a href="http://xymonton.org" rel="noreferrer" target="_blank">xymonton.org</a> to monitor information about JBoss 7.1 on 64-bit Oracle Linux 6.7 with Java 1.7.0_75. I have followed the instructions for both the client and server side. The jmxstat test appears on the Xymon server and is updating every 5 minutes as expected.<br>
<br>
I'm continuously getting the error:<br>
<br>
<a href="http://myclient.mydomain.com" rel="noreferrer" target="_blank">myclient.mydomain.com</a>  JMX - connection failed for JVM<br>
<br>
I don't know enough about Java or JBoss to know where to start looking.<br>
<br>
The instructions for jmxstat say this:<br>
<br>
"The JVM will need to be restarted with additional options that enable the JMX module and define the port & credentials."<br>
<br>
What additional options are needed and where are these configured?<br>
<br>
The admin port is 9999 and netstat shows that it's listening.<br>
<br>
I did use the add-user.sh script to create the username and password in the mgtm-users.properties file for JBoss.<br>
<br>
Any suggestions?<br>
<br>
Thanks.<br>
<br>
<br>______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/<wbr>mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>