My Oracle Support Banner

CacheFullException After Calling remove() On Entity Beans (Doc ID 1587026.1)

Last updated on MAY 11, 2018

Applies to:

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


Facing "weblogic.ejb20.cache.CacheFullException: cache size after cleaning=50, max allowable cache size=50, extra free space required but not obtainable = 1" while a cmp managed entity bean rolling back immediately after calling remove().

SessionBean (RequiresNew) calls remove() on EntityBean (Required) and directly afterwards an exception is thrown which leads to sessionContext.setRollbackOnly().
     * @ejb.interface-method view-type="remote"
    public void remove(Long id) throws Exception {
        try {
            TestEntity testEntity = testEntityHome.findByPrimaryKey(id);

            throw new RuntimeException("Test");

        } catch (Exception e) {



To view full details, 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 a vibrant support community of peers and Oracle experts.