jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Szeto <rsz...@vizible.com>
Subject Re: UDP Discovery mode with JCS 1.2.7.3
Date Mon, 05 Jun 2006 15:52:20 GMT
Hi Aaron, 
  I have tried the configuration suggested by following post, but I
still get "Not a multicast address":
http://mail-archives.apache.org/mod_mbox/jakarta-jcs-users/200605.mbox/browser

Error:
Jun 5, 2006 11:49:53 AM
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPListener
$ListenerThread run
     [java] INFO: Listening on port 1118
     [java] Jun 5, 2006 11:49:53 AM
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver createSocket
     [java] SEVERE: Could not bind to multicast address :6780
     [java] java.net.SocketException: Not a multicast address
     [java]     at
java.net.MulticastSocket.joinGroup(MulticastSocket.java:273)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.createSocket(UDPDiscoveryReceiver.java:132)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.<init>(UDPDiscoveryReceiver.java:109)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryService.<init>(UDPDiscoveryService.java:106)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryManager.getService(UDPDiscoveryManager.java:83)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryManager.getService(UDPDiscoveryManager.java:52)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createDiscoveryService(LateralTCPCacheFactory.java:165)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createCache(LateralTCPCacheFactory.java:100)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
     [java]     at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
     [java]     at org.apache.jcs.JCS.getInstance(JCS.java:64)
     [java]     at CacheMaster.main(CacheMaster.java:8)
     [java] Jun 5, 2006 11:49:53 AM
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryService <init>
     [java] SEVERE: Problem creating UDPDiscoveryReceiver, we won't be
able to find any other caches
     [java] java.net.SocketException: Not a multicast address
     [java]     at
java.net.MulticastSocket.joinGroup(MulticastSocket.java:273)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.createSocket(UDPDiscoveryReceiver.java:132)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.<init>(UDPDiscoveryReceiver.java:109)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryService.<init>(UDPDiscoveryService.java:106)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryManager.getService(UDPDiscoveryManager.java:83)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryManager.getService(UDPDiscoveryManager.java:52)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createDiscoveryService(LateralTCPCacheFactory.java:165)
     [java]     at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.createCache(LateralTCPCacheFactory.java:100)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary(CompositeCacheConfigurator.java:551)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:343)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:264)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(CompositeCacheConfigurator.java:241)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(CompositeCacheConfigurator.java:136)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:311)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:255)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:242)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeCacheManager.java:191)
     [java]     at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(CompositeCacheManager.java:119)
     [java]     at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
     [java]     at org.apache.jcs.JCS.getInstance(JCS.java:64)
     [java]     at CacheMaster.main(CacheMaster.java:8)
     [java] Jun 5, 2006 11:49:53 AM
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
createDiscoveryService
     [java] INFO: Created UDPDiscoveryService for TCP lateral cache.

My configuration is a straight cut and past from:
http://jakarta.apache.org/jcs/LateralTCPProperties.html

Any thoughts on a solution?

Thanks,
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message