glassfish
  1. glassfish
  2. GLASSFISH-12726

Error when deleting JDBC pool with dependent resources

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms04
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      12,726

      Description

      build: b10

      The following error is printed when attempting to delete a JDBC connetion pool
      with a dependent resources:

      An error has occurred
      DELETE
      http://localhost:4848/management/domain/resources/jdbc-connection-pool/my?cascade=false
      returned a response status of 400

      Steps to reproduce:
      1. Create a JDBC Connetion Pool, e.g. MyPool
      2. Create a JDBC Resource that uses MyPool, e.g. MyResource.
      3. Attempt to delete MyPool - a prompt is displayed warning that dependent
      resources will be deleted, however after clicking OK the above error is displayed.

        Activity

        Hide
        lidiam added a comment -

        Created an attachment (id=4596)
        server.log

        Show
        lidiam added a comment - Created an attachment (id=4596) server.log
        Hide
        Anissa Lam added a comment -

        I think in v2, we delete the resources and then the connection pool.
        After fixing, please add a dev test for this.
        thanks

        Show
        Anissa Lam added a comment - I think in v2, we delete the resources and then the connection pool. After fixing, please add a dev test for this. thanks
        Hide
        sumasri added a comment -

        Fixed it.

        Show
        sumasri added a comment - Fixed it.
        Hide
        shaline added a comment -

        Verified in promoted b40.

        Show
        shaline added a comment - Verified in promoted b40.

          People

          • Assignee:
            sumasri
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: