Hi Rob

Got your email, thanks heaps.

We found that the CFFILE ram:// isn't using ehcache ?! so our need to
cluster the ehcace went away. we resorted back to Ye old UNC paths.

also, in my tests i was trying to cache the 'default' cache and not
creating a new cache like in your XML file example.

Pat

On Mar 19, 3:00 pm, Rob Brooks-Bilson <rob.brooksbil...@gmail.com>
wrote:
> Mark,
>
> I followed up with Pat via email. I haven't heard back from him yet,
> but I do have working examples showing how to use Ehcache in a
> clustered configuration with multiple instances.
>
> Pat, if you aren't able to get it working with the ehcache file I sent
> you, let me know and I'll get you the more complete examples (with CF
> source) with a more detailed explanation.
>
> -Rob
>
> On Mar 16, 4:44 pm, Mark Mandel <mark.man...@gmail.com> wrote:
>
> > I *believe* Rob Brooks Bilson has got it to work, from my conversations with
> > him, and I'm pretty sure he demo'd it at MAX last year (I think I was in the
> > session with technical difficulties).
>
> >http://www.brooks-bilson.com/blogs/rob/index.cfm/Ehcache
>
> > You can view his presentations here:http://tv.adobe.com/search/?q=cache
>
> > Let me know if that helps you out.
>
> > Mark
>
> > On Wed, Mar 17, 2010 at 9:03 AM, Pat Branley <pbran...@gmail.com> wrote:
> > > Hi All
>
> > > has anyone managed to get CFCACHE to cluster ?
>
> > > Below is my ehcache.xml - from what i understand this is all you
> > > should need to make it replicate the cache across the cluster. but its
> > > not working....
>
> > > Im testing this locally on my win vista x64 laptop with 2 x cf9
> > > instances running out of the same Jrun (but obviously separate JVM's)
> > > - im wondering if this only works if the instances are on different
> > > boxes altogether - something to do with multicast perhaps ?
>
> > > Theres lots of information about how to use CFCACHE, just not alot
> > > about on how you actually configure it. I found something on Ray
> > > Camdens blog, but nothing about how you catually configure the
> > > multicast stuff on the NIC
>
> > >http://www.coldfusionjedi.com/index.cfm/2009/7/18/ColdFusion-9-and-Ca...
>
> > > Cheers
> > > Pat
>
> > > <cacheManagerPeerProviderFactory
>
> > > class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
> > >            properties="peerDiscovery=automatic,
> > >                        multicastGroupAddress=230.0.0.1,
> > >                        multicastGroupPort=4446"/>
>
> > > <cacheManagerPeerListenerFactory
>
> > > class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/
>
> > > <defaultCache
> > >        maxElementsInMemory="10000"
> > >        eternal="false"
> > >        timeToIdleSeconds="86400"
> > >        timeToLiveSeconds="86400"
> > >        overflowToDisk="false"
> > >        diskSpoolBufferSizeMB="30"
> > >        maxElementsOnDisk="10000000"
> > >        diskPersistent="false"
> > >        diskExpiryThreadIntervalSeconds="3600"
> > >        memoryStoreEvictionPolicy="LRU"
>
> > >                        <cacheEventListenerFactory
>
> > >  class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
> > >                                properties="replicateAsynchronously=true,
> > > replicatePuts=true,
> > > replicateUpdates=true,
> > >                                replicateUpdatesViaCopy=false,
> > > replicateRemovals=true "/>
>
> > > </defaultCache>
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "cfaussie" group.
> > > To post to this group, send email to cfaus...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > cfaussie+unsubscr...@googlegroups.com<cfaussie%2bunsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/cfaussie?hl=en.
>
> > --
> > E: mark.man...@gmail.com
> > T:http://www.twitter.com/neurotic
> > W:www.compoundtheory.com
>
> > Hands-on ColdFusion ORM Training @ cf.Objective() 
> > 2010www.ColdFusionOrmTraining.com/

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to