Sorry, I should have been more clear. It is JBoss EAP 5.1.0.
-Alan
On Thu, Dec 1, 2011 at 12:59 PM, smillidge@c2b2.co.uk wrote:
Is the JBoss.org or JBoss EAP as I believe there is a problem with the profile service in JBoss.org which prevents RHQ monitoring JBoss 5 community.
Steve Millidge C2B2 Sent from my BlackBerry® wireless device
-----Original Message----- From: Alan Evans alanwevans@gmail.com Sender: rhq-users-bounces@lists.fedorahosted.org Date: Wed, 30 Nov 2011 18:32:51 To: rhq-users@lists.fedorahosted.org Reply-To: rhq-users@lists.fedorahosted.org Subject: JBoss AS 5 jboss.platform.mbeanserver is set but "JBoss AS JVM" not discovered
I am using JBoss AS 5 and RHQ 4.2.0 and I am unable to get my agents to discover the JBoss JVMs.
I am suspicious that it is because I have put "jboss.platform.mbeanserver" in a properties file rather than in a -D commandline option.
./run.sh takes a --properties command line which allows you to specify jboss and other system properties without using a -D commandline option. One of my Java pet-peeves is that it takes a million different properties all of which have really long names to do anything in java. Then you end up with 'ps aux' output that is extremely unreadable.
So for JBoss anything I can put in a properties file I do! From what I can tell putting "jboss.platform.mbeanserver" in a properties file and using --properties is a sufficient replacement for the -D option. In jmx-console the java.lang is visible and we use another tool that requires the jboss.platform.mbeanserver property that seems to work fine.
Is there any reason that putting jboss.platform.mbeanserver in a properties file instead of on the command line would prevent RHQ from being able to discover that Boss was exposing information from the JVM?
Regards, -Alan _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users _______________________________________________ rhq-users mailing list rhq-users@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/rhq-users