[jboss-dev-forums] [JBoss AS7 Development] - How to view/retrieve the value of runtime attributes for specific connection pool?
Bill Hong
do-not-reply at jboss.com
Wed Aug 17 19:52:32 EDT 2011
Bill Hong [http://community.jboss.org/people/billhong] created the discussion
"How to view/retrieve the value of runtime attributes for specific connection pool?"
To view the discussion, visit: http://community.jboss.org/message/621425#621425
--------------------------------------------------------------
I tried to use command line client to manage oracle database connection pool in AS7. However, all the runtime attributes were displayed as “undefined”. I tried to use management API to retrieve attributes and the value is undefined as well. Is there a way to view those values at runtime?
The result in my environment is:
[standalone at localhost:9999 data-source=myOracleDS] :read-resource(include-runtime=true)
{
"outcome" => "success",
"result" => {
"ActiveCount" => undefined,
"AvailableCount" => undefined,
"AverageBlockingTime" => undefined,
"AverageCreationTime" => undefined,
"CreatedCount" => undefined,
"DestroyedCount" => undefined,
"MaxCreationTime" => undefined,
"MaxUsedCount" => undefined,
"MaxWaitCount" => undefined,
"MaxWaitTime" => undefined,
"PreparedStatementCacheAccessCount" => undefined,
"PreparedStatementCacheAddCount" => undefined,
"PreparedStatementCacheCurrentSize" => undefined,
"PreparedStatementCacheDeleteCount" => undefined,
"PreparedStatementCacheHitCount" => undefined,
"PreparedStatementCacheMissCount" => undefined,
"TimedOut" => undefined,
"TotalBlockingTime" => undefined,
"TotalCreationTime" => undefined,
...
}
}
Can someone give me helps please. Thanks in advance!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/621425#621425]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110817/c88cb828/attachment.html
More information about the jboss-dev-forums
mailing list