Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-404

BeanManagerProvider leaks in case of undeploy/redeploy

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Attachments

      1. patch.diff
        4 kB
        Romain Manni-Bucau

      Issue Links

        Activity

          No really proud of this patch, a better idea would be a spi to integrate with containers.

          OWB and Weld would use classloaders and TomEE, JBoss, WAS... could use their own storage

          romain.manni-bucau Romain Manni-Bucau added a comment - No really proud of this patch, a better idea would be a spi to integrate with containers. OWB and Weld would use classloaders and TomEE, JBoss, WAS... could use their own storage

          Something like http://java.dzone.com/articles/classloaderlocal-how-avoid looks like a better solution to me

          romain.manni-bucau Romain Manni-Bucau added a comment - Something like http://java.dzone.com/articles/classloaderlocal-how-avoid looks like a better solution to me

          +1 for a spi

          gpetracek Gerhard Petracek added a comment - +1 for a spi
          romain.manni-bucau Romain Manni-Bucau added a comment - - edited

          the issue is it is broken by default then excepted if we detect the container automatically

          edit: not sure about others but tomee doesn't need a particular spi, it has its own event for that

          romain.manni-bucau Romain Manni-Bucau added a comment - - edited the issue is it is broken by default then excepted if we detect the container automatically edit: not sure about others but tomee doesn't need a particular spi, it has its own event for that
          struberg Mark Struberg added a comment -

          This already got fixed along the way a long time ago.

          When containers do an undeploy then they also MUST stop the Application as per EE spec. And DeltaSpike already removes itself from the BMI Map.

          struberg Mark Struberg added a comment - This already got fixed along the way a long time ago. When containers do an undeploy then they also MUST stop the Application as per EE spec. And DeltaSpike already removes itself from the BMI Map.

          People

            struberg Mark Struberg
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: