<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote id="DWT5004" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Brian Stansberry" &lt;brian.stansberry@redhat.com&gt;<br><b>To: </b>jboss-as7-dev@lists.jboss.org<br><b>Sent: </b>Friday, August 19, 2011 11:52:40 AM<br><b>Subject: </b>Re: [jboss-as7-dev] JMX [was: Dear subsystem owners/components leads ....]<br><br>What kind of extensibility are you thinking about?<br><br>I have no objection at all to the kind of simple JMX gateway resource <br>David describes. If someone in the community wants to contribute that, <br>that would be great.<br><br>I would object to it though if its presence became an excuse for <br>subsystems not exposing their full management API via the standard <br>management model. ;)<br></blockquote>That's exactly the slippery slope I don't want us to go down!&nbsp; From an Andiamo perspective, we need ONE management layer that handles everything.<br><br>Let's keep this on track.<br><br>Andy<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br>On 8/19/11 12:02 PM, Eduardo Martins wrote:<br>&gt; The JMX exposure in CLI and Web Console can be basic, like I<br>&gt; mentioned, but should be easy extendable, so the community may enhance<br>&gt; it, if there is interest...<br>&gt;<br>&gt; -- Eduardo<br>&gt; ..............................................<br>&gt; http://emmartins.blogspot.com<br>&gt; http://redhat.com/solutions/telco<br>&gt;<br>&gt; On Fri, Aug 19, 2011 at 5:52 PM, David M. Lloyd&lt;david.lloyd@redhat.com&gt; &nbsp;wrote:<br>&gt;&gt; What Brian is saying is that we will not map arbitrary JMX objects to<br>&gt;&gt; the management mode.<br>&gt;&gt;<br>&gt;&gt; I think it might make sense though - eventually - to have a JMX resource<br>&gt;&gt; which has operations for calling into JMX (for open mbean types only of<br>&gt;&gt; course). &nbsp;Note that this would NOT be a mapping, just a single<br>&gt;&gt; management resource which is a gateway to JMX, and apart from accessing<br>&gt;&gt; attributes and invoking operations, no other JMX functions would be<br>&gt;&gt; supported (in particular, notifications).<br>&gt;&gt;<br>&gt;&gt; On 08/19/2011 11:29 AM, Eduardo Martins wrote:<br>&gt;&gt;&gt; It was and still is my biggest complain with AS7, the support for the<br>&gt;&gt;&gt; official java management spec is ... zero!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; IMHO the CLI should have an easy way to invoke a JMX operation,<br>&gt;&gt;&gt; whatever the MBean, how hard can it be when previous AS releases had<br>&gt;&gt;&gt; twiddle? And the JMX subsystem should have a module in the management<br>&gt;&gt;&gt; console, providing access to the MBeans in the JVM MBean server,<br>&gt;&gt;&gt; relying on JConsole is not good nowadays, not all OSes have it, again<br>&gt;&gt;&gt; we already had such tool...<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -- Eduardo<br>&gt;&gt;&gt; ..............................................<br>&gt;&gt;&gt; http://emmartins.blogspot.com<br>&gt;&gt;&gt; http://redhat.com/solutions/telco<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Fri, Aug 19, 2011 at 4:35 PM,&lt;ssilvert@redhat.com&gt; &nbsp; &nbsp;wrote:<br>&gt;&gt;&gt;&gt; Quoting Scott Marlow&lt;smarlow@redhat.com&gt;:<br>&gt;&gt;&gt;&gt;&gt; Heiko,<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Some of the JPA persistence providers support JMX for administrative<br>&gt;&gt;&gt;&gt;&gt; operations (Hibernate statistics for example). &nbsp;Do we have any magic way<br>&gt;&gt;&gt;&gt;&gt; to get JMX MBeans into the management console? &nbsp;Probably will need to be<br>&gt;&gt;&gt;&gt;&gt; dynamic based on deployment time processing.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Thanks,<br>&gt;&gt;&gt;&gt;&gt; Scott<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Scott,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Heiko is out for the rest of this month, so I'm not sure if he will be<br>&gt;&gt;&gt;&gt; able to answer.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Off hand, I don't think we currently have an easy way to directly<br>&gt;&gt;&gt;&gt; access JMX from the console. &nbsp;There would be a lot of low level<br>&gt;&gt;&gt;&gt; transport stuff to deal with that we've already worked through for the<br>&gt;&gt;&gt;&gt; management API. &nbsp;I doubt that we would want to go and build a<br>&gt;&gt;&gt;&gt; transport layer for JMX as well.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I think the better question is can we (should we) expose JMX through<br>&gt;&gt;&gt;&gt; the management API? &nbsp;If so it would be accessible from both the<br>&gt;&gt;&gt;&gt; console and the CLI.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Does anyone have thoughts about this?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Stan<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; jboss-as7-dev mailing list<br>&gt;&gt;&gt;&gt; jboss-as7-dev@lists.jboss.org<br>&gt;&gt;&gt;&gt; https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; jboss-as7-dev mailing list<br>&gt;&gt;&gt; jboss-as7-dev@lists.jboss.org<br>&gt;&gt;&gt; https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; - DML<br>&gt;&gt; _______________________________________________<br>&gt;&gt; jboss-as7-dev mailing list<br>&gt;&gt; jboss-as7-dev@lists.jboss.org<br>&gt;&gt; https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; jboss-as7-dev mailing list<br>&gt; jboss-as7-dev@lists.jboss.org<br>&gt; https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br><br><br>-- <br>Brian Stansberry<br>Principal Software Engineer<br>JBoss by Red Hat<br>_______________________________________________<br>jboss-as7-dev mailing list<br>jboss-as7-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></blockquote><br></div></body></html>