Hi,
I am getting this exception. Memcached is running but still when I start tomcat, I am getting ConnectionException. I have pased the exception stack trace below. Please go through and let me know what is going wrong.
java.net.ConnectException: Connection timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:592)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:407)
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:275)
at net.spy.memcached.MemcachedClient.run(MemcachedClient.java:2030)
2012-11-20 09:35:52.757 WARN net.spy.memcached.MemcachedConnection: Closing, and reopening {QA sa=/
10.244.151.43:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}, attempt 1.
2012-11-20 09:35:53.075 INFO net.spy.memcached.MemcachedConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@3da1c42f
2012-11-20 09:35:53.076 INFO net.spy.memcached.MemcachedConnection: Reconnecting due to failure to connect to {QA sa=/
10.244.151.43:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}
Regards,
Preeti