jivejdon3.0 没有实现jboss的集群部署?

oradb 07-05-30

在:
1. web.xml


<distributable/>


2. jboss-web.xml


<replication-config>
<replication-granularity>ATTRIBUTE</replication-granularity>
<replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
</replication-config>
运行出现:
20:07:42,783 WARN [RequestProcessor] Unhandled Exception thrown: class java.lang.IllegalArgumentException
20:07:42,783 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
at org.jboss.web.tomcat.tc5.session.ClusteredSession.setAttribute(ClusteredSession.java:532)
at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
at com.jdon.container.visitor.VisitorFactory.getVisitor(VisitorFactory.java:63)
at com.jdon.container.access.UserTargetMetaDefFactory.create(UserTargetMetaDefFactory.java:61)
at com.jdon.controller.service.WebServiceFactory.getService(WebServiceFactory.java:69)
at com.jdon.controller.service.WebServiceFactory.getService(WebServiceFactory.java:57)
at com.jdon.controller.WebAppUtil.getService(WebAppUtil.java:78)
at com.jdon.jivejdon.presentation.action.ForumListAction.getPageIterator(ForumListAction.java:37)
at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:69)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.jdon.jivejdon.presentation.filter.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:80)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.jdon.jivejdon.presentation.filter.SpamFilter.doFilter(SpamFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

banq
2007-05-31 14:34

目前没有。

主要问题是JF使用了Session来作为性能优化作用,可以失效Session复制