in orion-ejb-jar.xml:
tag entity-deployment,
attribute validity-timeout="N",
validity-timeout="10000" and your beans are reloaded as needed every 10 sec.
(actually, it mean s the 
cached data is considered stale after N miliseconds and should be reloaded
if needed)
Works for me and saves precious db resources (specially whenever orion is
flooded)

HTH,

JP
-----Original Message-----
From: Amir Peivandi [mailto:[EMAIL PROTECTED]]
Sent: Martes, 07 de Noviembre de 2000 18:58
To: Orion-Interest
Subject: Two Orion Servers!


Hi,

I have two Orion servers running on the network sharing some entity beans.
Both two Orion use the same SQL server and table to store entity beans. And
here is the problem!
Some how the entity get cached in the application server so the other one
doesn't get a fresh copy of the data! It's not a concurrency problem since
even if I update an entity from server A now and 5 minutes later I read it
in server B, I get old data!
So any idea?

Regards,
Amir

Reply via email to