2

I use NCache java API for connecting to NCache server but it throws an exception: com.alachisoft.ncache.runtime.exceptions.GeneralFailureException: No server is available to process the request.

I also tried some suggestion from this site but cannot solve the problem. Here are the java codes.

String cacheId = "mycache";
try {
    cache = NCache.initializeCache(cacheId);
} catch (Exception ex) {
    ex.printStackTrace();
    log.log(Level.SEVERE, "NCacheConnection()", ex.getMessage());
}
Aliaxander
  • 2,547
  • 4
  • 20
  • 45
Nguyen Hoang Giang
  • 123
  • 1
  • 1
  • 7

0 Answers0