In orion-ejb-jar.xml file, make exclusive-write-access="false". Default is
"true" which means that the entities are basically cached (forever, I
think--or until memory runs out or something--not sure how often).

Or, if the entities are "read-mostly", you can just set a low timeout on
them so they will get refreshed appropriately.

Joel Shellman
Chief Software Architect
http://www.ants.com/90589781
----- Original Message -----
From: "Amir Peivandi" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 1:57 PM
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