XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0
    • EJB
    • None
    • Hide

      Throw a RuntimeException from @PostConstruct on an MDB.

      Show
      Throw a RuntimeException from @PostConstruct on an MDB.
    • Release Notes
    • There was a potential leak in the EJB3 "StrictMaxPool" if the pool was empty and the @PostConstruct life-cycle call-back method threw a RuntimeException.
    • Not Yet Documented

    Description

      There is a leak in org.jboss.ejb3.pool.StrictMaxPool.get(). If the pool is empty a permit will be acquired on the semaphore (line 123) but then if the call to create() (line 146) fails the permit will never be released.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: JBPAPP

              People

                rhn-support-jbertram Justin Bertram
                rhn-support-jbertram Justin Bertram
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: