getting replication and memory errors in weblogic

57 views
Skip to first unread message

ankit jain

unread,
May 16, 2017, 2:40:43 AM5/16/17
to ehcache-users
  1. What version of Ehcache you are currently using; 2.10.2
  2. Paste the configuration for the Cache/CacheManager you have an issue with;-

    net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator



  3. <May 15, 2017 12:31:41 PM PDT> <Error> <net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator> <BEA-000000> <Exception on flushing of replication queue: null. Continuing...

    java.lang.NullPointerException

            at net.sf.ehcache.distribution.RMISynchronousCacheReplicator.listRemoteCachePeers(RMISynchronousCacheReplicator.java:335)

            at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.writeReplicationQueue(RMIAsynchronousCacheReplicator.java:312)

            at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.replicationThreadMain(RMIAsynchronousCacheReplicator.java:127)

            at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator.access$000(RMIAsynchronousCacheReplicator.java:58)

            at net.sf.ehcache.distribution.RMIAsynchronousCacheReplicator$ReplicationThread.run(RMIAsynchronousCacheReplicator.java:389)



  4. Add any name and version of other library or framework you use Ehcache with (e.g. Hibernate);
  5. Providing JDK and OS versions maybe useful as well.1.7 and Linux 5
We recently upgraded to weblogic 12 c and started seeing lot of issues with memory from ehcache replication


ehcache xml is as follows
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<ehcache xmlms:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"
 maxBytesLocalHeap="${ehcache.maxBytesLocalHeap}" maxBytesLocalDisk="${ehcache.maxBytesLocalDisk}">
   <diskStore path="java.io.tmpdir" />
  
     
   <cache
      name=""
      eternal="false"
      timeToIdleSeconds="${ehcache.timeToIdleSeconds}"
      timeToLiveSeconds="${ehcache.timeToLiveSeconds}"
      overflowToDisk="true"
      memoryStoreEvictionPolicy="LFU">
      <cacheDecoratorFactory class="org.civ.architecture.cache.BlockingCacheDecoratorFactory"/>
      <cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"/>
 </cache>
 
 <cache
      name=""
      eternal="false"
      timeToIdleSeconds="${ehcache.timeToIdleSeconds}"
      timeToLiveSeconds="${ehcache.timeToLiveSeconds}"
      overflowToDisk="true"
      memoryStoreEvictionPolicy="LFU">
      <cacheDecoratorFactory class="org.civ.architecture.cache.BlockingCacheDecoratorFactory"/>
      <cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"/>
    </cache>
</ehcache>
Reply all
Reply to author
Forward
0 new messages