java - Ehcache RMI replication works only in one way -


I have a Djibos Wildfi 8.0.0 cluster with a master and a slave. The eHatch has been configured for RMI replication with the manual option.

The problem replication is only in one direction, replacing the slave Jboss with the master is working fine. There is no replica JBoss master from Das Jboss.

I confirm the details of the cache with JConsole and I can see the replication in a way. I can see that cash is being made in both the masters and slaves, this issue is replicated in a way.

My master Jboss is a VM Windows Server 2012, the slave JBoss 8.0 desktop I have windows do not see any errors in my JBoss console

Master ehcache.xml:

  & lt; cacheManagerPeerProviderFactory class = "net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" property = "peerDiscovery. = Manual, rmiUrls = // myslave: 40002 / user Akadri" / & gt; & Lt; cacheManagerPeerListenerFactory class = "NetksfkehcachekdistributionkRMICacheManagerPeerListenerFactory" property = "port = 40001, socketTimeoutMillis = 30000" / & gt; & Lt; Cache name = "userAddress" infinity = "true" overflowToDisk = "true" maxEntriesLocalHeap = "1" memoryStoreEvictionPolicy = "LRU" & gt; & Lt; cacheEventListenerFactory class = "net.sf.ehcache.distribution.RMICacheReplicatorFactory" property = "replicateAsynchronously = true, replicatePuts = true, replicateUpdates = true, replicateUpdatesViaCopy = false, replicateRemovals = true" / & gt; & Lt; / Cache & gt;  

Das at ehcache.xml:

  & lt; cacheManagerPeerProviderFactory class = "net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" property = "peerDiscovery = manual, rmiUrls = // mymaster: 40001 / userAddress" / & gt; & Lt; cacheManagerPeerListenerFactory class = "NetksfkehcachekdistributionkRMICacheManagerPeerListenerFactory" property = "port = 40002, socketTimeoutMillis = 30000" / & gt; & Lt; Cache name = "userAddress" infinity = "true" overflowToDisk = "true" maxEntriesLocalHeap = "1" memoryStoreEvictionPolicy = "LRU" & gt; & Lt; CacheEventListenerFactory class = "net.sf.ehcache.distribution.RMICacheReplicatorFactory" attribute = "replicateAsynchronously = true, replicatePuts = true, replicateUpdates = true, replicateUpdatesViaCopy = false, replicateRemoval = true" /> & Lt; / Cache & gt;  

itemprop = "text">

Replication blocked by the firewall owner on the master JBoss server. The problem is resolved. In similar cases it is readable, it gives more consideration to 'remote object port'.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -