Hi,

I have a container managed entity bean deployed as read only in
weblogic-ejb-jar.xml:


120
ReadOnly


I'm using Weblogic 7 sp5.

I have a problem where if requests happen before the
read-timeout-seconds is reached (in this case 120 seconds) the cache
is never getting updated with the latest value in the database. If
seems as though the requests are resetting the timer. But, if there
are no requests for 120 seconds then the cache is correctly updated at
the next request, which is what I would expect.

I added some debug statements and have found that on the first request
the following are called:
setEntityContext()
setEntityContext()
ejbActivate()
ejbLoad()

On any subsequent requests I found that ejbLoad() is being called
every time, but the cache is still not getting updated from the
database unless I wait 120 seconds.

Has anyone else encountered this behaviour?
Thanks,
Jolyon.