[jboss-jira] [JBoss JIRA] Commented: (JBAS-6942) Expose a testConnection operation via JMX
Ian Springer (JIRA)
jira-events at lists.jboss.org
Tue Jun 2 12:24:30 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12470274#action_12470274 ]
Ian Springer commented on JBAS-6942:
------------------------------------
Jesper, which MBean exposes the new operation and what is the name of the operation?
Also, did you expose the functionality via the Profile Service as well, or only JMX?
Thanks,
Ian
> Expose a testConnection operation via JMX
> -----------------------------------------
>
> Key: JBAS-6942
> URL: https://jira.jboss.org/jira/browse/JBAS-6942
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Heiko W. Rupp
> Assignee: Jesper Pedersen
> Fix For: JBossAS-5.2.0.Beta1
>
>
> Hi,
> would it be possible to expose a "tesConnection" method to JMX and/or the profile service, that basically tries to get a connection with the backend database and returns true if this was successful. The connection itself could directly be closed or put back into the pool. Obtaining the connection should always try to really hit the database and not just get a connection from the pool (unless the valid connection checking mechanism is used, which may or may not be configured on a datasource).
> Such an operation could be very handy for tools like Jopr.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list