Sure. I'll see if I can figure out why this is happening. It's recommended that you use the JCS convenience class rather than CacheAccess directly. If just for simplicities sake. . .
Cheers, Aaron --- [EMAIL PROTECTED] wrote: > > > > > Is there a way to make UDP discovery shut down clean > without throwing > errors? > > INFO |23 Jun 2006 09:42:42,984|-127.0.0.1 > |.discovery.UDPDiscoveryService|Shutting down UDP > discovery service > receiver.| > ERROR|23 Jun 2006 09:42:42,986|Thread-23 > |discovery.UDPDiscoveryReceiver|Error receving > multicast packet| > java.net.SocketException: Socket closed > at > java.net.PlainDatagramSocketImpl.peekData(Native > Method) > at > java.net.DatagramSocket.receive(DatagramSocket.java:662) > at > org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.waitForMessage(UDPDiscoveryReceiver.java:159) > at > org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryReceiver.run(UDPDiscoveryReceiver.java:182) > at java.lang.Thread.run(Thread.java:595) > DEBUG|23 Jun 2006 09:42:42,987|Thread-23 > |discovery.UDPDiscoveryReceiver|35 > messages received.| > WARN |23 Jun 2006 09:42:42,987|Thread-23 > |discovery.UDPDiscoveryReceiver|message is null| > INFO |23 Jun 2006 09:42:42,996|-127.0.0.1 > |.discovery.UDPDiscoveryService|Shutting down UDP > discovery service > sender.| > > > This is how I initialize the cache: > compositeCacheManager = > CompositeCacheManager.getUnconfiguredInstance(); > compositeCacheManager.configure( > configurator.getProperties() ); > cacheAccess = new CacheAccess( > compositeCacheManager.getCache( > CACHE_NAME ) ); > > and this is how I shut it down: > compositeCacheManager.shutDown(); > > Exception happens when calling shutDown(). > > Using version 1.2.7.6. > > Thanks, > > Marek Cyzio > Equifax > (770)740-6610 > [EMAIL PROTECTED] > This message contains information from Equifax Inc. > which may be > confidential and privileged. If you are not an > intended recipient, please > refrain from any disclosure, copying, distribution > or use of this > information and note that such actions are > prohibited. If you have > received this transmission in error, please notify > by e-mail > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]