[jboss-dev-forums] [Design of Kosmos] - Re: serviceResultUpdaterJob not traversing repository

aron.gombas do-not-reply at jboss.com
Fri Jul 21 11:31:18 EDT 2006


Based on your scheduler settings, the service should be invoked once in every 2 hours. This is exactly what's happening in the log above, so that's fine.

BUT! In your ''ehcache.xml'' the cache content lives for 14400 secs (that is 4 hours). So even if the service is invoked by scheduler, that will return the same cached object for 2 iterations! (However, it should happen only twice, for the third try, you should get a new result... Don't really understand.)

Anyway, could you try setting diskPersistent="false" and timeToLiveSeconds=''3600" (1 hour) in your ehcache.xml and restart the container?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959929#3959929

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959929



More information about the jboss-dev-forums mailing list