我只是想知道这是一个正常的行为。我大约每秒有两次新的上下文实例化,没有人访问服务器24/7 ..
13:17:27,217 INFO [Contexts] starting up: org.jboss.seam.security.ruleBasedPermissionResolver
13:17:27,218 INFO [Contexts] starting up: org.jboss.seam.security.identity
13:17:27,218 INFO [Contexts] starting up: org.jboss.seam.web.session
13:17:27,713 INFO [Contexts] starting up: org.jboss.seam.security.ruleBasedPermissionResolver
13:17:27,713 INFO [Contexts] starting up: org.jboss.seam.security.identity
13:17:27,713 INFO [Contexts] starting up: org.jboss.seam.web.session
所以我应该调整日志来警告接缝还是有什么问题?
thx
我只列出了对该页的请求。如果只访问静态资源,则不会记录在jboss日志中。
在jboss-seam.jar中,类IdentityRequestWrapper或IdentityWrapper(取决于seam版本)被替换了
identity = (Identity) request.getSession().
getAttribute(Seam.getComponentName(Identity.class));
HttpSession session = request.getSession(false);
if(session != null){
identity = (Identity) session.
getAttribute(Seam.getComponentName(Identity.class));
}
不再为静态内容创建会话