This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
It's not a secret anymore!