Details

    • Type: Feature Request Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.M1
    • Component/s: JCA service
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Jason Greene added a comment -

            There will not be a 5.1.1, moving to 5.2 for now

            Show
            Jason Greene added a comment - There will not be a 5.1.1, moving to 5.2 for now
            Hide
            Ian Springer added a comment -

            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

            Show
            Ian Springer added a comment - 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
            Hide
            Jesper Pedersen added a comment -

            Method is on JBossManagedConnectionPoolMBean

            boolean testConnection()

            It is exposed through @ManagedOperation also.

            Show
            Jesper Pedersen added a comment - Method is on JBossManagedConnectionPoolMBean boolean testConnection() It is exposed through @ManagedOperation also.

              People

              • Assignee:
                Jesper Pedersen
                Reporter:
                Heiko Rupp
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development