Bonjour à tous,

J'utilise Ehcache 1.2 pour gérer un cache distribué en cluster.
Lors des tests, j'obtiens sur ma console de log l'erreur fatale suivante :

22 juin 2007 14:04:01,015 FATAL PayloadUtil: Could not ungzip. Heartbeat
will
not be working. Not in GZIP format
Aviez-vous déjà rencontré ce problème ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
xsi:noNamespaceSchemaLocation="../xsd/ehcache.xsd">
   <diskStore path="java.io.tmpdir "/>
   <cacheManagerPeerProviderFactory
 
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
       properties="properties=peerDiscovery=automatic,
multicastGroupAddress=
237.0.0.4, multicastGroupPort=7011"/>
   <cacheManagerPeerListenerFactory
 
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
       properties="port=40007"
   />
<!-- cache for Hibernate -->
   <defaultCache
       maxElementsInMemory="10000"
       eternal="false"
       overflowToDisk="true"
       timeToIdleSeconds="120"
       timeToLiveSeconds="120"
       diskPersistent="false"
       diskExpiryThreadIntervalSeconds="120"
       />
<!-- Distributed Cache -->
   <cache name="cacheListDistributed"
       maxElementsInMemory="100"
       eternal="false"
       timeToIdleSeconds="5000"
       timeToLiveSeconds="5000"
       overflowToDisk="false">
           <cacheEventListenerFactory
 
class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                   properties="replicateAsynchronously=true,
replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true,
replicateRemovals=true "/>
   </cache>
<!-- Distributed Cache -->
   <cache name="cacheSemaphoreDistributed"
       maxElementsInMemory="100"
       eternal="false"
       timeToIdleSeconds="5000"
       timeToLiveSeconds="5000"
       overflowToDisk="false">
           <cacheEventListenerFactory
 
class="net.sf.ehcache.distribution.RMICacheReplicatorFactory "
                   properties="replicateAsynchronously=true,
replicatePuts=true, replicateUpdates=true, replicateUpdatesViaCopy=true,
replicateRemovals=true "/>
   </cache>
</ehcache>
Merci de votre aide !

Fred