Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
-
Weblogic 8
Description
I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
Can someone help me with the configuration of the auxillary cache?
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.TcpServers=gsng19d10005:8001,gsng19d10006:8001
jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
jcs.auxiliary.LTCP.attributes.AllowGet=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false
what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?