Recovery Element from Lateral Auxiliary Cache when stop/start tomcat occurs ---------------------------------------------------------------------------
Key: JCS-83 URL: https://issues.apache.org/jira/browse/JCS-83 Project: JCS Issue Type: Wish Components: TCP Lateral Cache Affects Versions: jcs-1.3 Environment: Two Windows Servers with Tomcat 6 servers Reporter: Julio Matheus Vaz Assignee: Aaron Smuts This issue is relationed with #JCS-39 issue: https://issues.apache.org/jira/browse/JCS-39; I have declared a region with a TCP Lateral Cache Auxiliary with two separate servers. If the two Tomcats on the two machines are working than everything works fine. When one Tomcat update the cache it is seen also on the other Tomcat. Now the issue arises when I restart one of the Tomcats . Than it loses all cache elements and if I make a get to an element that exists in the other Tomcat I get a null. My allowGet flag is set to True but it still not works. In my opinion, something is missing in my cache.ccf, could you find out what is? Here is the cache.ccf file: # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default=LTCP jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=100 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache jcs.default.cacheattributes.UseLateral=true jcs.default.cacheattributes.UseRemote=false jcs.default.cacheattributes.UseDisk=false jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes jcs.default.elementattributes.IsEternal=false jcs.default.elementattributes.IsSpool=false jcs.default.elementattributes.IsRemote=false jcs.default.elementattributes.IsLateral=true #LTCP jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes jcs.auxiliary.LTCP.attributes.TcpListenerPort=11111 jcs.auxiliary.LTCP.attributes.AllowGet=true jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false jcs.auxiliary.LTCP.attributes.Receive=true jcs.auxiliary.LTCP.attributes.UdpDiscoveryAddr=228.5.6.8 jcs.auxiliary.LTCP.attributes.UdpDiscoveryPort=6780 jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=true jcs.auxiliary.LTCP.attributes.FilterRemoveByHashCode=false jcs.auxiliary.LTCP.attributes.SocketTimeoOt=1001 jcs.auxiliary.LTCP.attributes.OpenTimeOut=2002 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira