Author: nfilotto
Date: 2012-01-06 14:23:09 -0500 (Fri, 06 Jan 2012)
New Revision: 5431
Modified:
kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v5/src/main/java/org/exoplatform/services/ispn/DistributedCacheManager.java
Log:
EXOJCR-1682: Add the transaction manager in the configuration only if it is not null
Modified:
kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v5/src/main/java/org/exoplatform/services/ispn/DistributedCacheManager.java
===================================================================
---
kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v5/src/main/java/org/exoplatform/services/ispn/DistributedCacheManager.java 2012-01-06
16:47:45 UTC (rev 5430)
+++
kernel/trunk/exo.kernel.component.ext.cache.impl.infinispan.v5/src/main/java/org/exoplatform/services/ispn/DistributedCacheManager.java 2012-01-06
19:23:09 UTC (rev 5431)
@@ -170,7 +170,10 @@
};
for (ConfigurationBuilder b : holder.getConfigurationBuilders())
{
- b.transaction().transactionManagerLookup(tml);
+ if (tm != null)
+ {
+ b.transaction().transactionManagerLookup(tml);
+ }
//TODO remove it once ISPN-1689 will be fixed
b.clustering()
.hash()
Show replies by date