glassfish
  1. glassfish
  2. GLASSFISH-20437

SFSB PreDestroy never commits during undeploy

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b86_RC2
    • Fix Version/s: 4.0_b87_RC3
    • Component/s: ejb_container
    • Labels:
      None

      Description

      SFSB container calls PreDestroy during undeploy, but ContainerSynchronization prevents transaction completion.

      • What is the impact on the customer of the bug?
        PreDestroy behavior is not as described in the EJB spec
      • How likely is it that a customer will see the bug and how serious is the bug?
        If the code expects to flush data to the database, the data will be lost
      • Is it a regression?
        It's a missing part in the new functionality
      • Does it meet other bug fix criteria (security, performance, etc.)?
        no.
      • What CTS failures are caused by this bug?
        None.
      • What is the cost/risk of fixing the bug?
        Low.
      • How risky is the fix? How much work is the fix? Is the fix complicated?
        Minimal.
      • Is there an impact on documentation or message strings?
        no.
      • Which tests should QA (re)run to verify the fix did not destabilize GlassFish?
        EJB
      • Which is the targeted build of 4.0 for this fix?
        rc3.
      • If this an integration of a new version of a component from another project,
        what are the changes that are being brought in? This might be list of
        Jira issues from that project or a list of revision messages.
        No.

        Activity

        Hide
        marina vatkina added a comment -

        Fixed by accounting for SFSB PreDestroy called in a transaction.
        Sending src/main/java/com/sun/ejb/containers/ContainerSynchronization.java
        Transmitting file data .
        Committed revision 61740.

        Show
        marina vatkina added a comment - Fixed by accounting for SFSB PreDestroy called in a transaction. Sending src/main/java/com/sun/ejb/containers/ContainerSynchronization.java Transmitting file data . Committed revision 61740.

          People

          • Assignee:
            marina vatkina
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: