ConfigurationPoller : Null configuration when using spymemcached

280 views
Skip to first unread message

Nitin Karda

unread,
Sep 4, 2018, 9:16:50 PM9/4/18
to simple-spring-memecached
I am trying to use the https://github.com/ragnor/simple-spring-memcached in my s[pring boot project. 

I get error below when i use spymemcached , everything works fine with xmemcached-provider.

<dependency>
  <groupId>com.google.code.simple-spring-memcached</groupId>
  <artifactId>spymemcached-provider</artifactId>
  <version>4.0.0</version>
</dependency>


2018-09-04 18:08:18.946 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2018-09-04 18:08:18.956 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for sun.nio.ch.SelectionKeyImpl@e8ab589

2018-09-04 18:08:23.975 INFO net.spy.memcached.ConfigurationPoller:  Starting configuration poller.
2018-09-04 18:08:23.975 INFO net.spy.memcached.ConfigurationPoller:  Endpoint to use for configuration access in this poll NodeEndPoint - HostName:localhost IpAddress:127.0.0.1 Port:11211
2018-09-04 18:08:23.977 WARN net.spy.memcached.ConfigurationPoller:  The configuration is null in the server localhost
2018-09-04 18:08:23.977 WARN net.spy.memcached.ConfigurationPoller:  Number of consecutive poller errors is 1. Number of minutes since the last successful polling is 0


I am using the same configuration provided in the readme. 

Also i tried the below

<dependency>
  <groupId>com.google.code.simple-spring-memcached</groupId>
  <artifactId>spymemcached-provider</artifactId>
  <version>4.0.0</version>
  <exclusions>
  <exclusion>
  <groupId>net.spy</groupId>
    <artifactId>spymemcached</artifactId>
  </exclusion>
  </exclusions>
</dependency>

<dependency>
    <groupId>net.spy</groupId>
    <artifactId>spymemcached</artifactId>
    <version>2.12.2</version>
</dependency>


This seems to be working.

Jakub Białek

unread,
Sep 5, 2018, 1:17:01 PM9/5/18
to simple-spring-memecached
Hi,

Could you please send me a sample project that show the issue? What is your configuration of SSM?

-- Ragnor

--
You received this message because you are subscribed to the Google Groups "simple-spring-memecached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-spring-meme...@googlegroups.com.
To post to this group, send email to simple-sprin...@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-spring-memecached.
For more options, visit https://groups.google.com/d/optout.

Nitin Karda

unread,
Sep 13, 2018, 4:54:23 PM9/13/18
to simple-spring-memecached
Hi,

Sorry this was not an issue with the library. I figured out my memcached install was not correct.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-spring-memecached+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages