Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1199

RemoteCacheManager failure in multi-threaded environment with maxActive=Integer.MAX_VALUE

    XMLWordPrintable

Details

    Description

      I get erros like these, when I run test with 100 threads using either shared or multiple remote cache managers:

      java.lang.IllegalStateException: We should not reach here!
      	at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:73)
      	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:201)
      	at org.infinispan.CacheSupport.put(CacheSupport.java:51)
      	at org.jboss.edg.test.MultiThreadedManualTest$Runner.run(MultiThreadedManualTest.java:77)
      

      The cause in my environment came to connection-pool configuration property "maxActive" clients set to Integer.MAX_VALUE

      Attachments

        Activity

          People

            mircea.markus Mircea Markus (Inactive)
            mlinhard Michal Linhard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: