Hi,
I configured a Distributed cache cluster of 3 servers(with num.
Transport configuration on all nodes:
<global>
<transport clusterName="bookscluster_sync">
<properties>
<property name="configurationFile" value="jgroups-udp.xml" />
</properties>
</transport>
</global>
Transaction configuration in all nodes:
<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"
syncRollbackPhase="false" syncCommitPhase="true" useEagerLocking="false" />
RemoteCacheManager manager = new RemoteCacheManager("localhost:11223;localhost:11224;localhost:11225");
When i obtain remoteCache and doing puts followed by gets, i am getting this exception almost 90% of the times..
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[44] returned server error (status=0x85): org.infinispan.CacheException: Could not commit implicit transaction
at org.infinispan.client.hotrod.impl.protocol.Codec10.checkForErrorsInResponseStatus(Codec10.java:156)
at org.infinispan.client.hotrod.impl.protocol.Codec10.readHeader(Codec10.java:109)
at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:78)
at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:72)
at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:52)
at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:41)
at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:68)
at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:219)
at org.infinispan.CacheSupport.put(CacheSupport.java:52)
I am sure that something wrong with my transaction configuration. Can somebody point out the mistake..
Thanks a ton..