[ 
http://jira.jboss.com/jira/browse/JBCACHE-111?page=comments#action_12316073 ]
     
Bela Ban commented on JBCACHE-111:
----------------------------------

Original posting:
What might be the reason for receiving the following exception?

java.lang.Exception: entry for transaction <HOSTNAME:4510>:2 not found in 
transaction table
  |         at 
org.jboss.cache.interceptors.CacheStoreInterceptor$SynchronizationHandler.afterCompletion(CacheStoreInterceptor.java:255)
  |         at 
org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1418)
  |         at 
org.jboss.tm.TransactionImpl.completeTransaction(TransactionImpl.java:1090)
  |         at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:349)
  |         at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:454)
  |         at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:322)
  |         at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
  |         at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:123)
  |         at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  |         at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  |         at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
  |         at org.jboss.ejb.Container.invoke(Container.java:870)
  |         at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
  |         at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82)
  |         at $Proxy74.authenticate(Unknown Source)

I am using normal TreeCache (not the aop one) as an MBean inside of JBoss 4.0.1 
using REPL_SYNC with isolation level set to REPEATABLE_READ (I have also tried 
SERIALIZABLE)

I have tried the 1.2 stable jar and the latest from cvs and received the same 
error. We use JBoss Cache extensively throughout our architecture so tracing it 
to the exact cause is proving very difficult for us. Any ideas?

We have two TreeCache MBeans loaded (on persisted via the jdbc cache loader. 
The other has no cache loader) and in some places we are using them both. Could 
that cause problems?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869621#3869621

> Transaction not available in afterCompletion() of CacheStoreInterceptor
> -----------------------------------------------------------------------
>
>          Key: JBCACHE-111
>          URL: http://jira.jboss.com/jira/browse/JBCACHE-111
>      Project: JBoss Cache
>         Type: Bug
>     Versions: 1.2
>     Reporter: Bela Ban
>     Assignee: Bela Ban
>      Fix For: 1.2.1

>
>
> Reason: if LockInterceptor's afterCompletion() is executed before 
> CacheStoreInterceptor's afterCompletion(), the GTX is removed from the 
> TransactionTable.
> SOLUTION: keep a ref to the modification list in CacheStoreInterceptor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to