I have the next problem with the ehcache in my application. When I run it I get: net.sf.ehcache.CacheException: Problem starting listener for RMICachePeer //node-2:47945/JmsUcpCache. Initial cause was Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset
When I follow the startup steps of the application I see that 1 - the application try to bind to certain port to notify that a cache was added. 2- connection reset happen 3 - some other process start write to this port 4 - some other process start listento this port
Ass a result of the connection reset the spring fails to initialize and the application does not start.
Here is my ehcache.xml: <?xml version="1.0" encoding="UTF-8"?> <ehcache> <diskStore path="C:\\Temp\\cache"/>