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

Reloading app causes IllegalStateException when passivating session objects

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0.CR1
    • Fix Version/s: The future
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Tomcat 5.5

      Description

      I haven't tested in other appservers.

      Reloading the Hibernate example causes the following stacktrace:

      Sep 26, 2007 9:15:37 PM org.apache.catalina.session.StandardSession passivate
      SEVERE: Session attribute event listener threw exception
      java.lang.IllegalStateException: Attempted to invoke a Seam component outside the an initialized application
      at org.jboss.seam.contexts.Lifecycle.getApplication(Lifecycle.java:36)
      at org.jboss.seam.contexts.Lifecycle.beginCall(Lifecycle.java:84)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:113)
      at org.jboss.seam.intercept.RootInterceptor.invokeAndHandle(RootInterceptor.java:84)
      at org.jboss.seam.intercept.JavaBeanInterceptor.callPrePassivate(JavaBeanInterceptor.java:135)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:77)
      at org.jboss.seam.example.hibernate.HotelSearchingAction_$$javassist_2.sessionWillPassivate(HotelSearchingAction$$_javassist_2.java)
      at org.apache.catalina.session.StandardSession.passivate(StandardSession.java:764)
      at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:515)
      at org.apache.catalina.session.StandardManager.unload(StandardManager.java:462)
      at org.apache.catalina.session.StandardManager.stop(StandardManager.java:666)
      at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
      at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2984)
      at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java:906)
      at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet.java:473)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  matt.drees Matt Drees
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: