File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes WAS7 Dynacache configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS7 Dynacache configuration" Watch "WAS7 Dynacache configuration" New topic

WAS7 Dynacache configuration

Viji San
Ranch Hand

Joined: Aug 12, 2010
Posts: 35
Hello, I'm running my J2EE application (contains Servlets, EJB3) in WebSphere Application Server 7.0. The application is running in 2 servers in one Cell.

We are trying to use Websphere dyna cache ( to cache few java objects (Mainly String objects) and take advantage of WAS replication to another server's JVM. The java objects are stored in DistributedObjectCache map using different keys, the keys are created programatically using some business logic.

Now, we would need to create cachespec.xml to configure cache items timeout values since time-to-live and timeout configuration can not be done in WAS admin console. I wanted to timeout the cache item in 10mins if that is not accessed in 10mins time period.

Can anyone help me to do this configuration cachespec.xml?

Please let me know if additional information is required
I agree. Here's the link:
subject: WAS7 Dynacache configuration
It's not a secret anymore!