EHC ❯ Synchronous SocketTimeoutException
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
When I try to run distributed queues with replicateAsynchronously=false and then quickly put a large number of objects into peers i seem to encounter some kinda of lock. Then I get the following error message: net.sf.ehcache.distribution.RemoteCacheException: Error doing put to remote peer. Message was: Error unmarshaling return header; nested exception is: java.net.SocketTimeoutException: Read timed out at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.replicatePutNotification(RMISynchronousCacheReplicator.java:135) at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.notifyElementUpdated(RMISynchronousCacheReplicator.java:170) at net.sf.ehcache.event.RegisteredEventListeners.notifyElementUpdated(RegisteredEventListeners.java:103) at net.sf.ehcache.Cache.put(Cache.java:574) at net.sf.ehcache.Cache.put(Cache.java:522)
….
I don’t have this problem with replicateasynchronous=true, but the 1000ms time between flushing the queue is too slow for my application.
[email protected] Sourceforge Ticket ID: 1540322 - Opened By: nobody - 15 Aug 2006 01:16 UTC
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira