问题
after upgrading to JBoss AS 7, suddenly the POST request of the first login page of our application results in a ViewExpiredException. Everything worked fine under JBoss AS 6.
Since the classloading is way nicer in AS 7, I put some dependencies from the "server/default/lib" folder into the Maven dependencies to deploy them with the application (WAR/EJB-JAR packed as EAR). I also added the directive to alter the classpath in MANIFEST.MF. Thus, every library is found. However, modules that are already shipped with JBoss are set to provided in the pom.xml. We also use the MyFaces Tomahawk library (pom.xml dependency is org.apache.myfaces.tomahawk.tomahawk20
(version 1.1.10). The tomahawk library is now shipped with the application instead of previously copied into some lib-folder of JBoss.
What has changed from AS6 to AS7, so that this ViewExpiredException occurs immediately?
Best regards, Sebastian
回答1:
I haven't tested this but intend to see whether it fixes a similar problem I was hitting:
Cookie based sessions broken I found it from this another stack over flow post ViewExpiredException in Firefox and IE after migrating to Jboss 7.0 AS
来源:https://stackoverflow.com/questions/6729583/viewexpiredexception-after-upgrading-to-jboss-as-7