0 Replies Latest reply on Jan 31, 2017 7:50 AM by alexis.bourdeau

    putAsync fails

    alexis.bourdeau

      Hello

       

      I try to use the method putAsync on a remoteCache,
      I get the following error :

       

      > java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.CompletableFuture$AsyncSupply@7403c468 rejected from java.util.concurrent.ThreadPoolExecutor@13eb8acf[Running, pool size = 99, active threads = 10, queued tasks = 10000, completed tasks = 10102]

          at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)

          at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)

          at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)

          at java.util.concurrent.CompletableFuture.execAsync(CompletableFuture.java:441)

          at java.util.concurrent.CompletableFuture.supplyAsync(CompletableFuture.java:2149)

          at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAsync(RemoteCacheImpl.java:295)

          at org.infinispan.client.hotrod.impl.RemoteCacheSupport.putAsync(RemoteCacheSupport.java:94)

          at PaiementManager.addPaiementFromFile(PaiementManager.java:162)

          at Main.main(Main.java:43)

       

      the code executing