glassfish
  1. glassfish
  2. GLASSFISH-2008

Undeploy does not delete jdbc resources and connection pools in sun-resources.xml

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 9.0pe
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

    • Issuezilla Id:
      2,008

      Description

      Undeploying an application containing sun-resources.xml does not remove jdbc
      resources and connection pools.

      The issue is due to error in PostResDeletionPhase. It tries to get resources in
      sun-resources.xml by calling
      DeploymentServiceUtils.getResourcesFromResourcesXML()(Line 361). The app
      variable is null in this method, hence it is unable to retrieve the associated
      resources.

        Activity

        Hide
        kshitiz_saxena added a comment -

        Attached the application used to reproduce this issue.

        Show
        kshitiz_saxena added a comment - Attached the application used to reproduce this issue.
        Hide
        gfbugbridge added a comment -

        <BT6512205>

        Show
        gfbugbridge added a comment - <BT6512205>
        Hide
        vince kraemer added a comment -

        join cc list

        Show
        vince kraemer added a comment - join cc list
        Hide
        kshitiz_saxena added a comment -

        Created an attachment (id=691)
        Application to reproduce issue

        Show
        kshitiz_saxena added a comment - Created an attachment (id=691) Application to reproduce issue
        Hide
        Hong Zhang added a comment -

        I was able to reproduce this and this is now fixed in b33.

        Show
        Hong Zhang added a comment - I was able to reproduce this and this is now fixed in b33.

          People

          • Assignee:
            Hong Zhang
            Reporter:
            kshitiz_saxena
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: