[jboss-user] [Clustering/JBoss] - Re: Clustering and Load Balancing in Jboss-4.0.2 using Apach

bstansberry@jboss.com do-not-reply at jboss.com
Thu Apr 19 10:11:38 EDT 2007



"bstansberry at jboss.cm" wrote : Saying it implements Serializable is insufficient; all of its fields must also implement Serializable or be declared transient. Somewhere in the DmWebSession's object graph there is a non-transient reference to the session itself (aka org.apache.catalina.session.StandardSessionFacade). StandardSessionFacade isn't serializable, so that won't work.

And here that ref is:


  | public class DmWebSession extends UserSession {
  | 
  |     private HttpSession session_;

HttpSession is an interface; the actual class of the object is StandardSessionFacade.  You can't hold a ref to the session in a session attribute.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038911#4038911

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038911



More information about the jboss-user mailing list