java.lang.IllegalStateException: cannot passivate persistence context with active transaction

Icesoft | georges.goebel@pch.etat.l | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    exception on fileupload and clustering

    Icesoft | 7 years ago | georges.goebel@pch.etat.l
    java.lang.IllegalStateException: cannot passivate persistence context with active transaction

    Root Cause Analysis

    1. java.lang.IllegalStateException

      cannot passivate persistence context with active transaction

      at org.jboss.seam.persistence.ManagedPersistenceContext.sessionWillPassivate()
    2. org.jboss.seam
      ManagedPersistenceContext.sessionWillPassivate
      1. org.jboss.seam.persistence.ManagedPersistenceContext.sessionWillPassivate(ManagedPersistenceContext.java:152)
      1 frame
    3. JBoss Application Server Tomcat
      SecurityContextEstablishmentValve.invoke
      1. org.jboss.web.tomcat.service.session.ClusteredSession.notifyWillPassivate(ClusteredSession.java:1532)
      2. org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:303)
      3. org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
      4. org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
      5. org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
      6. org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
      7. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      8. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      9. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      9 frames
    4. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    5. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      1 frame
    6. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      2 frames
    7. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame