0 Replies Latest reply on Jul 8, 2009 10:15 AM by pedalshoe

    scheme changing during pageflow

      I have a registration form that spans across a few pages.  I created a pageflow (jpdl) that defines the navigation.  I also added an ssl cert to the application and protected all the files under
      /signup/* to use the https scheme in pages.xml

      This is working fine, and all the pages under /signup/ are secured and I can naviagate from beginning to end as defined in the jpdl file.

      My problem came in when I added this to components.xml:

      <web:session invalidate-on-scheme-change\=\"true\"/>

      After I try to navigate to the 2nd page in the registration process I get the following exception and the 1st screen is redisplayed:

      03:25:07,453 ERROR [[/Calonex2]] Session event listener threw exception
      java.lang.IllegalStateException: Please end the HttpSession via org.jboss.seam.web.Session.instance().invalidate()
              at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:239)
              at org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:152)
              at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:59)
              at org.apache.catalina.session.StandardSession.expire(StandardSession.java:702)
              at org.apache.catalina.session.StandardSession.expire(StandardSession.java:660)
              at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1111)
              at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:150)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      It seems like the scheme is changing between page requests.

      How do I do this?

      Thank you