XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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.

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

                Created:
                Updated:
                Resolved: