|
|
| <prev next> |
Choosing A Webhost: |
Third server not discovered by second server with LateralTCP: msg#00004jakarta.turbine.jcs.devel
Hello, we use an net with 3 servers and use the LateralTCP protocol. We don´t use musticast (jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled = false). Each server is configured the other two servers with jcs.auxiliary.LTCP.attributes.TcpServers. At first we start server 1. Server 1 tries to connect to server 2 and 3. Then we start server 2. Server 2 connects to server 1 but does not try to connect to server 3. Server 1 connects to server 2 Then we start server 3. Server 3 connects to server 1 and 2. Server 1 connects to server 3. The error: Server 2 never tries to connect to server 3 and so the puts of server 2 never reach server 3. This error occurs with 3 servers on 3 nodes and also with 3 servers on the same node. we found a solution for the problem: In the class org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager the Map "instances" is synchronised at getInstance() but not at getInstances(). So an inconsistent value of instances may be got by call of getInstances(). The following change of getInstances() fixes the problem: public Map getInstances() { synchronized ( instances ) { return instances; } } We use new and fast machines, maybe that older and slower machines does not produce this synchronisation error. best regards, Dieter -- View this message in context: http://www.nabble.com/Third-server-not-discovered-by-second-server-with-LateralTCP-tf4843140.html#a13855881 Sent from the JCS - Dev mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Why can not set the "cacheattributes.MaxObjects" to 1 for a region ?, Jin Xu |
|---|---|
| Previous by Thread: | Why can not set the "cacheattributes.MaxObjects" to 1 for a region ?, Jin Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |