Hi,
I'm using a Message Driven Bean in order to perform a quite long task in background. Great... Except the fact I get randomly the following exception :
javax.transaction.TransactionRolledbackException: Attempt to put a new cache entry on a full cache; nested exception is:
java.lang.IllegalStateException: Attempt to put a new cache entry on a full cachejava.lang.IllegalStateException: Attempt to put a new cache entry on a full cache
at org.jboss.util.LRUCachePolicy$LRUList.promote(LRUCachePolicy.java(Compiled Code))
at org.jboss.util.LRUCachePolicy.insert(LRUCachePolicy.java(Compiled Code))
at org.jboss.ejb.plugins.AbstractInstanceCache.insert(AbstractInstanceCache.java(Compiled Code))
at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java(Compiled Code))
at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java(Compiled Code))
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java(Compiled Code))
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java(Compiled Code))
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java(Compiled Code))
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java(Compiled Code))
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java(Compiled Code))
at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java(Compiled Code))
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java(Compiled Code))
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java(Compiled Code))
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java(Compiled Code))
at $Proxy242.create(Unknown Source)
What does that mean ? Is it related to the entity bean cache policy ?
I'm using the commit-option C, which is supposed to be "no-cache", or I am wrong ?
Here is my configuration :
JBoss-2.4.6_Jetty-4.0.0
RedHat 7.2
JDK IBM
Please Help !