> From: Sng Wee Jim [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat clustering and NotSerializableException > > But the stacktrace says > > java.io.NotSerializableException: > org.apache.coyote.tomcat5.CoyoteRequestFacade > > Since CoyoteRequestFacade is a tomcat class, I assume it has > to be fixed by the tomcat team.
I'm confused. How did a reference to a request facade object get stored in the session object? I couldn't find any request-related fields in a DeltaSession, and if it was set as an attribute, there's a check in DeltaSession to insure serializability before the value is accepted. (Actually, there are two checks in the 5.0.28 version; it appears that the second one is redundant.) Also, it wouldn't make sense to have any request-related data in a session object, since there can be multiple concurrent requests associated with any session. What am I missing? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. > (DeltaManager.java:813)- Unable to serialize delta request > > java.io.NotSerializableException: > org.apache.coyote.tomcat5.CoyoteRequestFacade > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) > at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) > at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) > at > java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) > at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) > at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) > at > org.apache.catalina.cluster.session.DeltaRequest$AttributeInfo.writeExternal(DeltaRequest.java:300) > at > org.apache.catalina.cluster.session.DeltaRequest.writeExternal(DeltaRequest.java:217) > at > org.apache.catalina.cluster.session.DeltaManager.unloadDeltaRequest(DeltaManager.java:393) > at > org.apache.catalina.cluster.session.DeltaManager.requestCompleted(DeltaManager.java:782) > at > org.apache.catalina.cluster.tcp.ReplicationValve.invoke(ReplicationValve.java:203) > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) > at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > at java.lang.Thread.run(Thread.java:534) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
