Transfer Ehcache upgrade to Terracotta/BigMemory's Ehcache

36 views
Skip to first unread message

Octa Karsono

unread,
Sep 3, 2013, 1:48:18 AM9/3/13
to transf...@googlegroups.com
Hi guys,

I am new to this group, and the whole coldfusion technology.
Recently I am assigned to increase the scalability of an application developed in Coldfusion 8, Transfer ORM, and MachII framework. I am to deploy the application into multiserver/multinode clustering mode.
The application is now running in multiserver cluster, but when it comes to making changes to the database via Transfer, the changes are not replicated/synchronised across other server nodes.

I had a look at Transfersync and ActiveMQ, but I got stuck in getting it to work. Then I tried the pluggable_cache branch from Mark's Transfer ORM, and then tried to convert the ehcache in the library to one that supports distributed caching.

I am trying to upgrade the pluggable cache (Ehcache) in Transfer to the Terracotta's latest Ehcache, which supports distributed caching.
I downloaded a copy of Mark's pluggable_cache transfer (http://svn.riaforge.org/transfer/transfer/branches/pluggable_cache/), implemented it into my application, and it was working up to that point.
Then I followed the instructions in this article (http://java.dzone.com/articles/building-high-performance) to upgrade the ehcache, but when I build my application, it was complaining:


Original Exception: Type: coldspring.beanCreationException || Message: Bean creation exception during init() of transfer.TransferFactory || Detail: Error while attempting to autowire object of type transfer.com.cache.CacheManager:
[Line: 30 :: C:/inetpub/wwwroot/transfer_v1-1/transfer/com/exception/Exception.cfc :: Error while attempting to autowire object of type transfer.com.cache.provider.ProviderManager ::
[Line: 80 :: C:/inetpub/wwwroot/transfer_v1-1/transfer/com/cache/provider/EHCacheProvider.cfc :: Object instantiation exception. :: An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error: ''.]] || Original Template: C:/inetpub/wwwroot/coldspring1-2-final/beans/DefaultXmlBeanFactory.cfc at line 893



Have anyone experienced similar scenario?
Or maybe give some hints on how to solve the problem that I am facing?

Cheers,
Octa


Mark Mandel

unread,
Sep 8, 2013, 8:36:57 PM9/8/13
to transf...@googlegroups.com
Octa,

Did you end up working this out?

I'd be pretty surprised if Transfer worked with a distributed cache, but it would be interesting to see if you got it happening.

Have a search of the mail archives - pretty sure we've discussed this before.

Mark


--
--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
 
Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
 
You received this message because you are subscribed to the Google Groups "transfer-dev" group.
To post to this group, send email to transf...@googlegroups.com
To unsubscribe from this group, send email to transfer-dev...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en
 
---
You received this message because you are subscribed to the Google Groups "transfer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to transfer-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
E: mark....@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

2 Devs from Down Under Podcast
Reply all
Reply to author
Forward
0 new messages