[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1199) RemoteCacheManager failure in multi-threaded environment with maxActive=Integer.MAX_VALUE

Michal Linhard (JIRA) jira-events at lists.jboss.org
Fri Jun 24 12:38:23 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Linhard updated ISPN-1199:
---------------------------------

    Attachment: testcase.zip


attaching my junit testcase.
to run this you have to have two virtual interfaces set up test1, test2, and two hotrod servers running on each of them (tried with EDG6 alpha build)

> RemoteCacheManager failure in multi-threaded environment with maxActive=Integer.MAX_VALUE
> -----------------------------------------------------------------------------------------
>
>                 Key: ISPN-1199
>                 URL: https://issues.jboss.org/browse/ISPN-1199
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 5.0.0.CR5
>            Reporter: Michal Linhard
>            Assignee: Manik Surtani
>         Attachments: testcase.zip
>
>
> I get erros like these, when I run test with 100 threads using either shared or multiple remote cache managers:
> {code}
> 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)
> {code}
> The cause in my environment came to connection-pool configuration property "maxActive" clients set to Integer.MAX_VALUE

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list