Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via terracotta.org by Unknown author, 2 years ago
Invalid JTA transaction context, cache was first used in transaction [java.lang.ThreadLocal@2b4c2b4c] but is now used in transaction [net.sf.ehcache.transaction.manager.WebsphereTransactionManagerLookup$WebsphereTransactionManager$WebsphereTransaction@67546754].
via Terracotta by kelkarp, 1 year ago
Invalid JTA transaction context, cache was first used in transaction [java.lang.ThreadLocal@2b4c2b4c] but is now used in transaction [net.sf.ehcache.transaction.manager.WebsphereTransactionManagerLookup$WebsphereTransactionManager$WebsphereTransaction@67546754].
via Terracotta by sriramp, 9 months ago
no JTA transaction context started, xa caches cannot be used outside of JTA transactions
net.sf.ehcache.transaction.TransactionException: Invalid JTA transaction context, cache was first used in transaction [java.lang.ThreadLocal@2b4c2b4c] but is now used in transaction [net.sf.ehcache.transaction.manager.WebsphereTransactionManagerLookup$WebsphereTransactionManager$WebsphereTransaction@67546754].	at net.sf.ehcache.transaction.local.JtaLocalTransactionStore.registerInJtaContext(JtaLocalTransactionStore.java:100)	at net.sf.ehcache.transaction.local.JtaLocalTransactionStore.put(JtaLocalTransactionStore.java:266)	at net.sf.ehcache.Cache.putInternal(Cache.java:1426)	at net.sf.ehcache.Cache.put(Cache.java:1359)	at net.sf.ehcache.Cache.put(Cache.java:1331)