1 Reply Latest reply on Aug 3, 2007 9:30 AM by Manik Surtani

    Issue while using

    Nishant Jain Newbie

      We are facing the following error while switching from "DummyTransactionManagerLookup" to "JBossTransactionManagerLookup" as a TransactionManagerLookupClass in the configuration file (treecache-config.xml) . Could someone help us out in this?


      15:15:06,541 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
      15:15:06,541 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
      15:15:07,634 INFO [STDOUT] java.lang.RuntimeException: java.lang.Exception: Failed to create local transaction; TransactionManager is null
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5875)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.TreeCache.get(TreeCache.java:3627)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.TreeCache.get(TreeCache.java:3608)
      15:15:07,634 INFO [STDOUT] at com.tg.cache.manager.TreeCacheProviderImpl.getFromCache(TreeCacheProviderImpl.java:105)
      15:15:07,634 INFO [STDOUT] at com.tg.cities.CitiesCacheManager.getCitiesFromCache(CitiesCacheManager.java:52)
      15:15:07,634 INFO [STDOUT] at com.tg.cities.CitiesCacheManager.getCities(CitiesCacheManager.java:39)
      15:15:07,634 INFO [STDOUT] at com.tg.delegate.FlightSearchDelegate.getCities(FlightSearchDelegate.java:65)
      15:15:07,634 INFO [STDOUT] at com.tg.controller.FlightSearchController.showForm(FlightSearchController.java:432)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.j
      ava:322)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormCo
      ntroller.java:262)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:15
      3)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandl
      erAdapter.java:44)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
      15:15:07,634 INFO [STDOUT] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
      15:15:07,634 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      15:15:07,634 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:25
      2)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java
      :107)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.ja
      va:72)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:216)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegr
      ationFilter.java:195)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
      15:15:07,634 INFO [STDOUT] at com.tg.acegi.FilterProxy.doFilter(FilterProxy.java:46)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:1
      38)
      15:15:07,634 INFO [STDOUT] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,634 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      15:15:07,634 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      15:15:07,634 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159
      )
      15:15:07,634 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      15:15:07,634 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      15:15:07,634 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      15:15:07,634 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protoco
      l.java:744)
      15:15:07,634 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      15:15:07,634 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      15:15:07,634 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      15:15:07,634 INFO [STDOUT] Caused by: java.lang.Exception: Failed to create local transaction; TransactionManager is null
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.createLocalTx(TxInterceptor.java:980)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:357)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:138)
      15:15:07,634 INFO [STDOUT] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
      15:15:07,634 INFO [STDOUT] ... 56 more
      15:15:07,681 INFO [STDOUT] java.lang.RuntimeException: java.lang.Exception: Failed to create local transaction; TransactionManage
      r is null
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5875)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.TreeCache.put(TreeCache.java:3833)
      15:15:07,681 INFO [STDOUT] at com.tg.cache.manager.TreeCacheProviderImpl.addToCache(TreeCacheProviderImpl.java:75)
      15:15:07,681 INFO [STDOUT] at com.tg.cities.CitiesCacheManager.putCitiesInCache(CitiesCacheManager.java:72)
      15:15:07,681 INFO [STDOUT] at com.tg.cities.CitiesCacheManager.getCities(CitiesCacheManager.java:42)
      15:15:07,681 INFO [STDOUT] at com.tg.delegate.FlightSearchDelegate.getCities(FlightSearchDelegate.java:65)
      15:15:07,681 INFO [STDOUT] at com.tg.controller.FlightSearchController.showForm(FlightSearchController.java:432)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractFormController.showNewForm(AbstractFormController.j
      ava:322)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormCo
      ntroller.java:262)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:15
      3)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandl
      erAdapter.java:44)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
      15:15:07,681 INFO [STDOUT] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
      15:15:07,681 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      15:15:07,681 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:25
      2)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java
      :107)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.ja
      va:72)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:216)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegr
      ationFilter.java:195)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
      15:15:07,681 INFO [STDOUT] at com.tg.acegi.FilterProxy.doFilter(FilterProxy.java:46)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:1
      38)
      15:15:07,681 INFO [STDOUT] at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,681 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:20
      2)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      15:15:07,681 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      15:15:07,681 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159
      )
      15:15:07,681 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      15:15:07,681 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      15:15:07,681 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      15:15:07,681 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protoco
      l.java:744)
      15:15:07,681 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      15:15:07,681 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      15:15:07,681 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      15:15:07,681 INFO [STDOUT] Caused by: java.lang.Exception: Failed to create local transaction; TransactionManager is null
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.createLocalTx(TxInterceptor.java:980)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:357)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
      15:15:07,681 INFO [STDOUT] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
      15:15:07,681 INFO [STDOUT] ... 55 more
      15:15:07,899 INFO [ResourceBundleThemeSource] Theme created: name 'theme', basename [theme]
      15:15:07,899 INFO [ExpressionEvaluationUtils] Using JSP 2.0 ExpressionEvaluator
      15:15:56,871 INFO [Server] Runtime shutdown hook called, forceHalt: true
      15:15:56,871 INFO [Server] JBoss SHUTDOWN: Undeploying all packages