glassfish
  1. glassfish
  2. GLASSFISH-18439

Statement-leak-timeout and statement-leak-reclaim values do not persist in domain.xml when created with asadmin add-resources

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2_b23
    • Fix Version/s: None
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      Windows 7 x64, Glassfish 3.1.2_b23, JDK 1.7.0_u3 x64

      Description

      This looks like an issue that is very related to GLASSFISH-18026 which was marked as resolved. In this case if I try to create a jdbc-connection-pool using the command 'asadmin add-resources glassfish-resources.xml' and the jdbc-connection-pool element in that XML file have the statement-leak-timeout-in-seconds and statement-leak-reclaim attributes set the resultant JDBC connection pool created will not. I've attached a sample persistence.xml file which demonstrates this.

        Activity

        Hide
        ancoron added a comment -

        Attached a patch jdbc-rm-statement-leak.patch for review and inclusion. it fixes the problem at the source - the resources manager.

        Show
        ancoron added a comment - Attached a patch jdbc-rm-statement-leak.patch for review and inclusion. it fixes the problem at the source - the resources manager.
        Hide
        ancoron added a comment -

        The above patch applies to the 3.1.2 tag but should (with path modification) also apply to trunk.

        Show
        ancoron added a comment - The above patch applies to the 3.1.2 tag but should (with path modification) also apply to trunk.
        Hide
        emailnbw added a comment -

        Has this been fixed in GF4 FCS?

        Show
        emailnbw added a comment - Has this been fixed in GF4 FCS?

          People

          • Assignee:
            sfelts
            Reporter:
            emailnbw
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: