The approach discussed in another thread is to use the internal static methods to get this
data.
Note that AS7/EAP6 can not use JMX to retrieve this info(jmx may not even be running), it
needs some kind of SPI. Also the RHQ plugins cant be used either because they can't
represent a domain.
Sent from my iPad
On May 14, 2011, at 8:14 PM, Jonathan Halliday <jonathan.halliday(a)redhat.com>
wrote:
Not really, the subsystem is AS code not JBossTS. I think dmlloyd wrote
most of it.
The transaction engine does expose statistics via JMX and the upstream
JBossTS project has RHQ/jconsole plugins that serve as the client side
for that data. Talk to Mike Musgrove if you want some pointers on doing
similar in the AS console.
Jonathan.
On 05/11/2011 09:45 AM, Heiko Braun wrote:
>
>
> Jonathan, can you shed some light on this?
>
>
> Ike
>
> Begin forwarded message:
>
>> *From: *Andrig Miller <anmiller(a)redhat.com
<mailto:anmiller@redhat.com>>
>> *Date: *May 10, 2011 5:26:06 PM GMT+02:00
>> *To: *Heiko Braun <hbraun(a)redhat.com <mailto:hbraun@redhat.com>>
>> *Cc: *"jboss-as7-dev(a)lists.jboss.org
>> <mailto:jboss-as7-dev@lists.jboss.org> Development"
>> <jboss-as7-dev(a)lists.jboss.org
<mailto:jboss-as7-dev@lists.jboss.org>>
>> *Subject: **Re: [jboss-as7-dev] TX subsystem management use cases*
>>
>> You should probably ping Jonathan Halliday.
>>
>> Andy
>>
>> ----- Original Message -----
>>> From: "Heiko Braun" <hbraun(a)redhat.com
<mailto:hbraun@redhat.com>>
>>> To: "jboss-as7-dev(a)lists.jboss.org
>>> <mailto:jboss-as7-dev@lists.jboss.org> Development"
>>> <jboss-as7-dev(a)lists.jboss.org
<mailto:jboss-as7-dev@lists.jboss.org>>
>>> Sent: Tuesday, May 10, 2011 9:07:24 AM
>>> Subject: [jboss-as7-dev] TX subsystem management use cases
>>>
>>>
>>>
>>> Can anyone shed some light on the management op's for the transaction
>>> subsystem?
>>> The attribute names indicate more sophisticated features, like
>>> statistics.
>>>
>>> I would need to know how to work with this data in order expose
>>> reasonable functionality through the web UI.
>>>
>>> [domain@localhost:9999 /]
>>> /profile=default/subsystem=transactions:read-resource(recursive=true)
>>> {
>>> "outcome" => "success",
>>> "result" => {
>>> "core-environment" => {
>>> "socket-binding" => "txn-socket-process-id",
>>> "node-identifier" => undefined
>>> },
>>> "recovery-environment" => {
>>> "socket-binding" => "txn-recovery-environment",
>>> "status-socket-binding" => "txn-status-manager"
>>> },
>>> "coordinator-environment" => {
>>> "enable-statistics" => undefined,
>>> "default-timeout" => undefined
>>> },
>>> "object-store" => {
>>> "relative-to" => undefined,
>>> "path" => undefined
>>> }
>>> },
>>> "compensating-operation" => undefined
>>> }
>>>
>>>
>>> Ike
>>>
>>>
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev(a)lists.jboss.org <mailto:jboss-as7-dev@lists.jboss.org>
>>>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>
--
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons
(USA) and Brendan Lane (Ireland).
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev