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=31328>.
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=31328

DeltaRequest unable to handle two concurrent requests per session





------- Additional Comments From [EMAIL PROTECTED]  2004-09-21 18:33 -------
Yes, you are right. We have a cluster in production and every now and then a
user doesn't wait for a request to complete and instead sends the same request
again. Once a day it happens, that these two identical requests end only a few
milliseconds away from each other. Then we get the following exception on the
receiving side of replication, which indicates, that the replication packet is
corrupt. 

Filip: I know that your opinion is to not support parallel access to a session.
On the other hand it happens very quickly in reality, so at least we should make
sure, that we don't break the session. I didn't go deeper into the code, so I'm
not sure, how much work synchronization would be.

ERROR [org.apache.catalina.cluster.tcp.TcpReplicationThread[1]]
(DeltaManager.java:912) - Unable to receive message through TCP channel
java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:448)
        at
java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2657)
        at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
        at
org.apache.catalina.cluster.session.DeltaRequest$AttributeInfo.readExternal(DeltaRequest.java:285)
        at
org.apache.catalina.cluster.session.DeltaRequest.readExternal(DeltaRequest.java:200)
        at
org.apache.catalina.cluster.session.DeltaManager.loadDeltaRequest(DeltaManager.java:385)
        at
org.apache.catalina.cluster.session.DeltaManager.messageReceived(DeltaManager.java:898)
        at
org.apache.catalina.cluster.session.DeltaManager.messageDataReceived(DeltaManager.java:762)
        at
org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleTcpCluster.java:576)
        at org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:70)
        at
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:129)
        at
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:67)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to