Hi (Ahoj) Jaromir,
the default value of connectorAddress is
"service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi". You can use this URL or
perhaps change the port if it is different. You are right, that JMX plugin descriptor says
it can be empty
(
https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/jmx/sr...),
in that case the commandLine has to be filled in. In that code were referring to the
commandLine property is not being used and as comment says it should be handling the
manual import, perhaps there might be a bug in it, I'll look into it later on.
Related wikipage:
https://docs.jboss.org/author/display/RHQ/Generic+JVM+Product+Configuration
jk
----- Original Message -----
From: "Jaromir Hamala" <jaromir.hamala(a)gmail.com>
To: rhq-users(a)lists.fedorahosted.org
Sent: Thursday, January 2, 2014 1:37:56 PM
Subject: Adding Local JMX Server manually? A bug or a feature?
Hi,
I'm trying to manually as JMX server resource using the local/java5se
connection and I'm getting an exception because of empty connection URL:
https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/jmx/sr...
Is is a bug or is it intentional? I believe the connection url actually might
be empty when local connection is being used, but I might misunderstood the
logic behind it.
Can someone confirm what the right behavior is, please?
Cheers,
Jaromir
--
“Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away.”
Antoine de Saint Exupéry
_______________________________________________
rhq-users mailing list
rhq-users(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users