[infinispan-dev] All demos should be readily discoverable by RHQ

Galder Zamarreño galder at redhat.com
Tue Aug 30 09:58:46 EDT 2011


>From an RHQ perspective, you don't need to know the port. The local RHQ agent will discover Infinispan and connect to the server.

You only need to know the port if you're gonna manually connect to the JMX server remotely. If you're doing it from a local machine you can spot looking at the locally running JMX servers.

On Aug 30, 2011, at 3:50 PM, Sanne Grinovero wrote:

> How will I know the port to connect to when it's auto-chosen?
> 
> 2011/8/30 Galder Zamarreño <galder at redhat.com>:
>> That might be workable these days. In the past we had to stick to a JMX port and we used search for it. Due to some changes made to make the plugin work better with AS, we know look for several JMX subsystems in the machine and see if any match the Infinispan one.
>> 
>> On Aug 30, 2011, at 3:30 PM, Tristan Tarrant wrote:
>> 
>>> Maybe leave out the port, so that it chooses a random one ? This way I can run multiple demos at once.
>>> 
>>> Tristan
>>> 
>>> On Tue, Aug 30, 2011 at 14:47, Galder Zamarreño <galder at redhat.com> wrote:
>>> Hi,
>>> 
>>> I want all demos to come with the following system properties so that they can be immediately, without modification, be discovered by RHQ:
>>> -Dcom.sun.management.jmxremote.port=6996 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
>>> 
>>> I'm planning to do this as part of https://issues.jboss.org/browse/ISPN-1357
>>> 
>>> Anyone has any problems with it?
>>> 
>>> Cheers,
>>> --
>>> Galder Zamarreño
>>> Sr. Software Engineer
>>> Infinispan, JBoss Cache
>>> 
>>> 
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>> 
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
>> --
>> Galder Zamarreño
>> Sr. Software Engineer
>> Infinispan, JBoss Cache
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list