[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: umutert  XML
Profile for umutert -> Messages posted by umutert [1]
Author Message
We have an application server running as a pre-production server, using ehcache hibernate, spring... running quite fast. However on local development environment, the caching mechanism is absolute as each time we run the application on our locals. And it takes ages to run the applicaiton. Recently we came up with using the RMI cache peering functionality of ehcache idea. But this has to be one way which means that all the developers will have the pre-prod. server as the peer, however, the server will not peer with anyone (as it is not feasible).

Here is the server ehcache conf. (running on 10.6.44.225)

<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=manual, rmiUrls=" />

<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=40003,socketTimeoutMillis=10000" />

any our local ehache conf.

<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=manual, rmiUrls=//10.6.44.225:40002/AAA|//10.6.44.225:40002/BBB|//10.6.44.225:40002/CCC|..." />

<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=40001,socketTimeoutMillis=10000" />

Is it possible?
If so are the configurations correct for this purpose?

 
Profile for umutert -> Messages posted by umutert [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team