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

Galder Zamarreño galder at redhat.com
Tue Aug 30 10:03:27 EDT 2011


No idea what it uses but effectively gets all the JMX servers and we didn't figure out which one contains Infinispan Cache Managers and which doesn't.

On Aug 30, 2011, at 4:00 PM, Tristan Tarrant wrote:

> VisualVM automatically discovers processes using jps (running with the same user or root). Doesn't the RHQ agent use the same technique ?
> 
> Tristan
> 
> On Tue, Aug 30, 2011 at 15:56, Sanne Grinovero <sanne at infinispan.org> wrote:
> 2011/8/30 Tristan Tarrant <tristan.tarrant at gmail.com>:
> > netstat ? :)
> > jstat ?
> 
> I was hoping in something better :)
> Could we add a parameter to the demo boot scripts? Hardcode a default
> value, but make it easy to change if needed.
> 
> >
> > On Tue, Aug 30, 2011 at 15:50, Sanne Grinovero <sanne at infinispan.org> 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
> >
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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