glassfish
  1. glassfish
  2. GLASSFISH-3793

add max-lifetime support to the database connection pool

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: V3
    • Fix Version/s: 9.1peur1
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      3,793

      Description

      There will be issues if a connection is used for a long time such as days or
      weeks for some database. So it should be helpful if there is a max-lifetime
      option in the jdbc connection pool. If a connection has been connected for a
      time great then the max-lifetime then it need to be disconnected in the next
      time it's returned from the application or requested by the application.

        Activity

        Hide
        Jagadish added a comment -

        Transferring this bug for investigation.

        Show
        Jagadish added a comment - Transferring this bug for investigation.
        Hide
        windli added a comment -

        Just find that "Max Connection Usage" will do the work.
        Please close this.

        Thanks.

        Show
        windli added a comment - Just find that "Max Connection Usage" will do the work. Please close this. Thanks.
        Hide
        Jagadish added a comment -

        max-connection-usage-count attribute of connection pool represents the feature
        in question.

        Show
        Jagadish added a comment - max-connection-usage-count attribute of connection pool represents the feature in question.

          People

          • Assignee:
            Shalini
            Reporter:
            windli
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: