异常:
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: viewId:/adminweb/login.xhtml - ?????? /adminweb/login.xhtml?
root cause
javax.faces.application.ViewExpiredException: viewId:/adminweb/login.xhtml - ?????? /adminweb/login.xhtml?
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.1 logs.
GlassFish Server Open Source Edition 3.1.1
原因:web的会话时间设置过短,默认为30分
解决方法:
在web.xml配置文件中将“会话超时”改为60分钟