File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes distributed ehcache with tomcat not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "distributed ehcache with tomcat not working" Watch "distributed ehcache with tomcat not working" New topic

distributed ehcache with tomcat not working

Pradeep Kumar
Ranch Hand

Joined: Sep 08, 2006
Posts: 108
I am using Ehcache with tomcat 5.5 container for distributed caching. The jar version of Ehcache is 1.4. I configured the distributed caching progamatically. The problem is when I deploy and put an element in a cache and try to retrive in another instance of tomcat I do not get the value. Strange thing is if i run the tomcat in debug mode I am able to get the value associated with the key. I am using RMI urls and correct configuration setting. Can someone tell me what is the issue?

Thanks and Regards, Pradeep Kumar
SCJP 1.6, SCWCD 5.0
I agree. Here's the link:
subject: distributed ehcache with tomcat not working
Similar Threads
EHCache or OSCache
Does EHCache support caching across multiple, distributed servers?
How retrieve all objects from hibernate ehcache region at once
How to start a daemon thread at application startup in a Spring application
clustering web servers