[jboss-user] [JBoss Cache: Core Edition] - Standalone cache, what TransactionManager to use?

molsen-ee do-not-reply at jboss.com
Mon Jun 30 17:53:59 EDT 2008


I'm implementing a standalone cache (not using any other JBoss packages) and am looking for information on what TransactionManager to use.

Currently it falls back to "DummyTransactionManager" and that seems to be unfit for production use.  The only other TM in the jboss-cache-core package is the BatchModeTransactionManager, it's code indicates it is for POJO caches.

I ask because I think my other issue (posted below, regarding memory usage) is linked to uncommitted transactions filling up memory.  When I try to commit the transactions as such:


  | GenericTransactionManagerLookup tml = new GenericTransactionManagerLookup();
  | tml.getTransactionManager().commit();
  | 

I get the following exception:


  | java.lang.IllegalStateException: thread not associated with transaction
  |    at org.jboss.cache.transaction.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:74)
  | 


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161617



More information about the jboss-user mailing list