On 4 Aug 2009, at 10:31, Galder Zamarreno wrote:
On 08/04/2009 11:26 AM, Galder Zamarreno wrote:
>
>
> On 08/04/2009 09:56 AM, Galder Zamarreno wrote:
>> Hi Amin,
>>
>
> </snip>
>
>>> 2. Using xml config, no storeLockSafe is called at all?
>
> That's because you have singleton store enabled but the cache is not
> configured with correctly to form a cluster. Either: set transport
> class
> correctly like this:
>
> <transport clusterName="SmppGatewayCluster"
> transportClass
> ="org.infinispan.remoting.transport.jgroups.JGroupsTransport"/>
>
>
> or disable singleton store:
>
> <singletonStore enabled="false"
pushStateWhenCoordinator="true"
> pushStateTimeout="20000"/>
>
> Note that enabling singleton store only makes sense when there's a
> cluster. I'll add a JIRA so that even if there isn't a cluster,
> having
> singleton store enabled does not stop you from storing stuff to cache
> store.
Actually, that should be a configuration error. Enabling singleton
store
does not make in a local cache or cache with no transport.
:-)
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org