Dear devs,<br>I'm wondering how runtime attributes (such as <strong></strong>ConnectionCount for a ManagedConnection Pool, or Thread's QueueSize) could be gathered on AS 7.<br>By using CLI ? Using a recursive read-resource, just dumps the resource startup properties.....<br>
<br>[localhost:9999 /] /subsystem=datasources/data-source="java:/H2DS":read-resource<br>(recursive="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>
"set-tx-query-timeout" => false,<br> "background-validation" => false,<br> "use-fast-fail" => false,<br> "validate-on-match" => false<br> },<br>
"compensating-operation" => undefined<br>}<br><br>Thanks a lot<br>Francesco Marchioni<br>