You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/06/02 19:23:54 UTC

DO NOT REPLY [Bug 29346] New: - StandardSessionFacade is not serializable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29346>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29346

StandardSessionFacade is not serializable

           Summary: StandardSessionFacade is not serializable
           Product: Tomcat 5
           Version: 5.0.24
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vcrandall@accela.com


We cannot serialize sessions that instantiate 
org.apache.catalina.session.StandardSessionFacade which prevents both restarts 
and clustering.

Our solution was to modify StandardSessionFacade.java so the class implements 
Serializable and this solve our problem.

Old:
public class StandardSessionFacade
    implements HttpSession

New:
public class StandardSessionFacade
    implements HttpSession, Serializable 

Our specific environment that causes this bad state is jboss-3.2.4 RC2 with 
Tomcat 5.0.24 running cfmx 6.1 for j2ee but this problem has been happening as 
early as jboss 3.0.6 with tomcat 4.1.18 running cfmx 6.0 for j2ee.

Is there any reason this class should not be serializable?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org