[jboss-user] [JBossCache] - Warning of TX rollback
aih1013
do-not-reply at jboss.com
Tue Nov 27 04:57:08 EST 2007
Hello!
We use JbossCache 1.4.1.SP4 as Hibernate 2nd level cache in pessimistic READ_COMMITTED mode.
After TX is setRollbackOnly(true), Jboss Cache emits following warning.
It looks little frustrating, as rollback is normal situation, IMHO. Does the warning reports about a hidden problem?
| 2007-11-27 03:55:03,640 WARN [org.jboss.cache.TreeCache] status is 4 (not ACTIVE or PREPARING); returning null)
| java.lang.Throwable
| at org.jboss.cache.TreeCache.getCurrentTransaction(TreeCache.java:5819)
| at org.jboss.cache.TreeCache.getCurrentTransaction(TreeCache.java:5789)
| at org.jboss.cache.TreeCache.remove(TreeCache.java:3867)
| at org.hibernate.cache.TreeCache.clear(TreeCache.java:121)
| at org.hibernate.cache.TransactionalCache.clear(TransactionalCache.java:124)
| at org.hibernate.impl.SessionFactoryImpl.evictEntity(SessionFactoryImpl.java:830)
| at org.hibernate.action.BulkOperationCleanupAction.evictEntityRegions(BulkOperationCleanupAction.java:132)
| at org.hibernate.action.BulkOperationCleanupAction.afterTransactionCompletion(BulkOperationCleanupAction.java:111)
| at org.hibernate.engine.ActionQueue.afterTransactionCompletion(ActionQueue.java:170)
| at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:424)
| at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:225)
| at org.hibernate.transaction.CacheSynchronization.afterCompletion(CacheSynchronization.java:85)
| at org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1526)
| at org.jboss.tm.TransactionImpl.completeTransaction(TransactionImpl.java:1198)
| at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:413)
| at org.jboss.tm.TxManager.rollback(TxManager.java:364)
| at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:148)
| at org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:863)
| at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:742)
| at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:604)
| at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:311)
| at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
| at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
| at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203)
| at $Proxy65.applyChanges(Unknown Source)
| at com.stravati.server.invoker.services.ISyncServiceInvoker$applyChangesMethodInvoker.runMethod(ISyncServiceInvoker.java:118)
| at com.stravati.server.invoker.services.ISyncServiceInvoker.invokeServiceMethod(ISyncServiceInvoker.java:85)
| at com.stravati.server.invoker.Invoker$1.run(Invoker.java:41)
| at com.stravati.server.security.ApiContextImpl$1.run(ApiContextImpl.java:116)
| at com.stravati.server.security.ImpersonationController.impersonate(ImpersonationController.java:60)
| at com.stravati.server.security.ImpersonationController.impersonate(ImpersonationController.java:122)
| at com.stravati.server.security.ApiContextImpl.run(ApiContextImpl.java:110)
| at com.stravati.server.invoker.Invoker.invoke(Invoker.java:35)
| at com.stravati.server.adapter.rest.RestAdapter.handleRequestInternal(RestAdapter.java:49)
| at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
| at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
| at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)
| at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)
| at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)
| at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:425)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
| at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
| at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:216)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:216)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
| at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
| at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
| at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at com.stravati.server.web.forward.RootRedirectionFilter.doFilter(RootRedirectionFilter.java:63)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
| at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
| at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
| at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
| at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Thread.java:595)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107976#4107976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107976
More information about the jboss-user
mailing list