Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-670

PreDestroy called multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-Beta4
    • EJB 3.0 RC8 - FD, EJB 3.0 RC9 - Patch 1, AS 4.2.0 GA
    • None
    • None

      The PreDestroy callback is called multiple times.

      Once from the container and once from the pool.
      IMHO only the pool should call PreDestroy.
      Other callbacks are already handled by the pool.

      Unit test is in regression/ejbthree...

            rhn-engineering-cdewolf Carlo de Wolf
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: