During manual failover testing, here is what we have observed:
1. element "<distributable />" needs to be added to both
gatein.ear/02portal.war/WEB-INF/web.xml and also to the porlet's web.xml. Should this
be required in both places?
2. There is problem with credential replication. It's not possible to login to GateIn
portal when distributable is used in portal web.xml.
java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
at
org.jboss.web.tomcat.service.session.ClusteredSession.setAttribute(ClusteredSession.java:867)
at
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130)
at org.exoplatform.web.login.PortalLoginController.doGet(PortalLoginController.java:52)
at org.exoplatform.web.login.PortalLoginController.doPost(PortalLoginController.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at
org.exoplatform.container.web.AbstractHttpServlet.onService(AbstractHttpServlet.java:165)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:114)
Making org.exoplatform.web.security.Credentials and similar other classes need to be
serializable.