>There are two reason you don't get actual values:<br>
<br>
>a) not the most recent AS7 build<br>
>b) no data available<br><br>Thanks for your reply. I guess the former one, as attributes are mentioned in your output, even if there are no metrics available for them. Will try building a new AS trunk with the most recent sources.<br>
Thanks<br>Francesco<br><br><div class="gmail_quote">2011/5/9 Heiko Braun <span dir="ltr"><<a href="mailto:hbraun@redhat.com">hbraun@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
<br>
There are two reason you don't get actual values:<br>
<br>
a) not the most recent AS7 build<br>
b) no data available<br>
<br>
<br>
This is what I get when building the recent master:<br>
<br>
[domain@localhost:9999 /] /profile=default/subsystem=datasources/data-source="java:/H2DS":read-resourc(include-runtime=true)<br>
<div class="im">{<br>
"outcome" => "success",<br>
"result" => {<br>
"connection-url" => "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1",<br>
"driver-class" => "org.h2.Driver",<br>
"jndi-name" => "java:/H2DS",<br>
"driver" => "org.h2.Driver#1.2",<br>
"pool-name" => "H2DS",<br>
"use-java-context" => true,<br>
"enabled" => true,<br>
</div> "pool-prefill" => false,<br>
<div class="im"> "pool-use-strict-min" => false,<br>
"user-name" => "sa",<br>
"password" => "sa",<br>
</div> "MaxWaitTime" => "no metrics available",<br>
"ActiveCount" => "no metrics available",<br>
"CreatedCount" => "no metrics available",<br>
"MaxWaitCount" => "no metrics available",<br>
"use-fast-fail" => undefined,<br>
"background-validation" => undefined,<br>
"max-pool-size" => undefined,<br>
"PreparedStatementCacheMissCount" => "no metrics available",<br>
"TotalBlockingTime" => "no metrics available",<br>
"AverageCreationTime" => "no metrics available",<br>
"PreparedStatementCacheAddCount" => "no metrics available",<br>
"PreparedStatementCacheDeleteCount" => "no metrics available",<br>
"PreparedStatementCacheHitCount" => "no metrics available",<br>
"DestroyedCount" => "no metrics available",<br>
"AverageBlockingTime" => "no metrics available",<br>
"idle-timeout-minutes" => undefined,<br>
"MaxCreationTime" => "no metrics available",<br>
"TotalCreationTime" => "no metrics available",<br>
"PreparedStatementCacheAccessCount" => "no metrics available",<br>
"AvailableCount" => "no metrics available",<br>
<div class="im"> "blocking-timeout-wait-millis" => undefined,<br>
"background-validation-minutes" => undefined,<br>
</div> "MaxUsedCount" => "no metrics available",<br>
"min-pool-size" => undefined,<br>
"TimedOut" => "no metrics available",<br>
"PreparedStatementCacheCurrentSize" => "no metrics available"<br>
},<br>
"compensating-operation" => undefined<br>
<div><div></div><div class="h5">}<br>
<br>
<br>
On May 9, 2011, at 2:10 PM, Francesco Marchioni wrote:<br>
<br>
> By using<br>
> /subsystem=datasources/data-source="java:/H2DS":read-resource(include-runtime=true)<br>
> produces the just the initial set of properties, though it may be that simply no runtime information is available at the moment......<br>
><br>
> [localhost:9999 /] /subsystem=datasources/data-source="java:/H2DS":read-resource<br>
> (include-runtime=true)<br>
> {<br>
> "outcome" => "success",<br>
> "result" => {<br>
> "connection-url" => "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1",<br>
> "driver-class" => "org.h2.Driver",<br>
> "jndi-name" => "java:/H2DS",<br>
> "driver" => "org.h2.Driver#1.2",<br>
> "pool-name" => "H2DS",<br>
> "use-java-context" => true,<br>
> "enabled" => true,<br>
> "pool-prefill" => true,<br>
> "pool-use-strict-min" => false,<br>
> "user-name" => "sa",<br>
> "password" => "sa",<br>
> "share-prepared-statements" => false,<br>
> "background-validation" => false,<br>
> "use-fast-fail" => false,<br>
> "validate-on-match" => false,<br>
> "idle-timeout-minutes" => undefined,<br>
> "blocking-timeout-wait-millis" => undefined,<br>
> "background-validation-minutes" => undefined,<br>
> "min-pool-size" => undefined,<br>
> "max-pool-size" => undefined<br>
> },<br>
> "compensating-operation" => undefined<br>
> }<br>
<br>
</div></div></blockquote></div><br>