Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3094

ManagedPersistenceContext throws away entityManager on sessionWillPassivate event

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.3.CR2, 2.1.0.BETA1
    • Component/s: None
    • Labels:
      None

      Description

      sessionWillPassivate() is called after every request when in clustered mode, so throwing away the em forces conversations entities data to be reloaded on every request. (and non-conversational ones to detach) I think we can be a bit smarter about this and preserve the em when we haven't actually failed over.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  norman.richards Norman Richards
                  Reporter:
                  norman.richards Norman Richards
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: