[jboss-user] Turning off JBoss instance cache
Li, Zhenge
zhenge.li at cgi.com
Fri Jul 10 08:02:38 EDT 2009
Hello,
We have a legacy application which was running on WebLogic 7.1 and are
in the process of migrating it to JBoss. The JBoss we chose is 4.0.5.GA.
The application uses its home-grown instance cache (which is bad) and it
runs fine on weblogic. But when we deploy it in JBoss, the instance
caching of JBoss seems staying in its way. When findByPrimaryKey is
called on a home interface, the ejbFindByPrimaryKey of the BMP entity
bean is not called as our application always expects.
Is there a way to turning off the instance caching? We tried setting
commit-on to "C" and
<cache-invalidation>true</cache-invalidation> in jboss.xml of the beans
, but didn't get it work. Could you help on this?
Thanks
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20090710/fd494395/attachment.html
More information about the jboss-user
mailing list