Spymemcached - CouchbaseClient issues

I just checked a fix into our code review system for this. It will be available in the beta release. Now the properties have a priority as follows:

  1. Specified in user code - System.setProperty(2)
  2. Specified on the command line
  3. Specified in the cbclient.properties file.

And the file must be located on the classpath to be found.

URL url = ClassLoader.getSystemResource(“cbclient.properties”);
properties.load(new FileInputStream(new File(url.getFile())));