[jboss-user] [JBossCache] - Re: Failed to create local transaction; TransactionManager i
BruceSpringfield
do-not-reply at jboss.com
Wed Aug 29 05:50:31 EDT 2007
upgraded to JBossCache-all-2.0.0.GA
same results
If
<attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
|
is in the config file, I get the following error on start of cache :
11:31:07,596 INFO [PojoCacheImpl] PojoCache version: JBossCache 'Habanero' 2.0.0.GA[ $Id: Version.java,v 1.35 2007/08/01 16:52:13 msurtani Exp $]
11:31:08,986 ERROR [[Controller]] Servlet.service() for servlet Controller threw exception
org.jboss.cache.pojo.PojoCacheException: Failed starting java.lang.RuntimeException: java.lang.Exception: Failed to create local transaction; TransactionManager is null
at org.jboss.cache.pojo.impl.PojoCacheImpl.start(PojoCacheImpl.java:262)
at com.jboss.cache.POJOCacheImpl.start(POJOCacheImpl.java:176)
at com.jboss.cache.POJOCacheImpl.(POJOCacheImpl.java:39)
at com.jboss.cache.POJOCacheImpl.cacheInstance(POJOCacheImpl.java:48)
at com.jboss.test.CacheSecondLevelTest.init(CacheSecondLevelTest.java:37)
at com.jboss.test.CacheSecondLevelTest.start(CacheSecondLevelTest.java:159)
at com.jboss.test.ControllerServlet.processRequest(ControllerServlet.java:45)
at com.jboss.test.ControllerServlet.doGet(ControllerServlet.java:19)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: java.lang.Exception: Failed to create local transaction; TransactionManager is null
at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3951)
at org.jboss.cache.CacheImpl.get(CacheImpl.java:1441)
at org.jboss.cache.CacheImpl.get(CacheImpl.java:1415)
at org.jboss.cache.loader.CacheLoaderManager.preload(CacheLoaderManager.java:282)
at org.jboss.cache.loader.CacheLoaderManager.preloadCache(CacheLoaderManager.java:256)
at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:796)
at org.jboss.cache.CacheImpl.start(CacheImpl.java:708)
at org.jboss.cache.pojo.impl.PojoCacheImpl.start(PojoCacheImpl.java:258)
... 27 more
Caused by: java.lang.Exception: Failed to create local transaction; TransactionManager is null
at org.jboss.cache.interceptors.TxInterceptor.createLocalTx(TxInterceptor.java:946)
at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:288)
at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:131)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:81)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62)
at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3939)
... 34 more
used simple cache config :
<?xml version="1.0" encoding="UTF-8" ?>
jboss:service=Naming
jboss:service=TransactionManager
org.jboss.cache.transaction.JBossTransactionManagerLookup
LOCAL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079060#4079060
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079060
More information about the jboss-user
mailing list