https://issues.apache.org/bugzilla/show_bug.cgi?id=52558

             Bug #: 52558
           Summary: CometConnectionManagerValve is adding non-serializable
                    Request[] to Session
           Product: Tomcat 7
           Version: 7.0.22
          Platform: Macintosh
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: adam.hawk...@gmail.com
    Classification: Unclassified


CometConnectionManagerValve is adding HttpServletRequest[] to HttpSession which
is preventing the Session being serialized in a Clustered setup.

We're resolving this locally using a serializable ConnectionList class with a
transient Request[]

i.e.

public class ConnectionList implements Serializable {

    transient Request[] connectionList = null;

    ConnectionList(Request[] connectionList){
        this.connectionList = connectionList;
    }

    public Request[] get(){
        return connectionList;
    }
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to