ViewExpiredException after upgrading to JBoss AS 7

夙愿已清 提交于 2019-12-09 03:52:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!