WLS 10.3.5 - EjbPassivation() Fails With Entity Bean Caching When Beans Are In READY State (Doc ID 1474006.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.5 and later
Information in this document applies to any platform.

Symptoms

When stress testing an application running on top of WebLogic 10.3.5, it turns out that the idle beans never scrub the cache until it reaches max-cache-size limit.
So, the default value of 600 is not set anytime before by WebLogic, and the idle beans stay indefinite even if they are not in any transaction.

For instance, with Application cache having Max-cache-size = 250000, the following is obtained:

####<15-Aug-2011 11:42:42 o'clock BST> <Info> <EJB> <TI-5484G2J> <OT_Server> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-041A0B333CA671AE8C1B> <9382feeb4212e7a1:-70e91f5:131cd00150e:-8000-0000000000000022> <1313404962863> <BEA-010033> <Exception from ejbLoad: weblogic.ejb20.cache.CacheFullException: cache size after cleaning=1000, max allowable cache size=1000, extra free space required but not obtainable = 1
weblogic.ejb20.cache.CacheFullException: cache size after cleaning=1000, max allowable cache size=1000, extra free space required but not obtainable = 1
    at weblogic.ejb.container.cache.EntityCache$SizeTracker.acquireSpace(EntityCache.java:765)
    at weblogic.ejb.container.manager.DBManager.preInvoke(DBManager.java:312)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:241)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:188)
    at weblogic.ejb.container.internal.EntityEJBLocalObject.__WL_preInvoke(EntityEJBLocalObject.java:73)
    at com.tracegroup.isys.opentwins.risk.app.bo.RiskHeader_5gqt88_ELOImpl._id_businessPk(RiskHeader_5gqt88_ELOImpl.java:12342)
    at com.tracegroup.isys.opentwins.base.app.accessRegistry.TransactionBinder.addBoAccess(TransactionBinder.java:230)
    at com.tracegroup.isys.opentwins.base.app.accessRegistry.AccessRegistry.registerAccess(AccessRegistry.java:84)
    at com.tracegroup.isys.opentwins.base.app.dtoSupplier.DtoSupplierBean._fw_enterTransaction(DtoSupplierBean.java:5003)
    at com.tracegroup.isys.opentwins.base.app.dtoSupplier.DtoSupplierBean.ejbLoad(DtoSupplierBean.java:2119)
    at com.tracegroup.isys.opentwins.risk.app.bo.RiskHeader_5gqt88__WebLogic_CMP_RDBMS.ejbLoad(RiskHeader_5gqt88__WebLogic_CMP_RDBMS.java:10456)
    at weblogic.ejb.container.manager.DBManager.loadBean(DBManager.java:540)
    at weblogic.ejb.container.manager.DBManager.preInvoke(DBManager.java:312)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:241)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:188)
    at weblogic.ejb.container.internal.EntityEJBLocalObject.__WL_preInvoke(EntityEJBLocalObject.java:73)

 


 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms