-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Hibernate 3.0.1 + JBossCache 1.2.2 no query cache
PostPosted: Mon Apr 18, 2005 12:07 pm 
Regular
Regular

Joined: Thu Aug 26, 2004 9:23 pm
Posts: 71
It appears that Query Cache is broken again between 3.0.1 and JBossCache. I can modify an object fine the first time then when I try to modify it again later I get the following exception. This exception is similar to the exception I'd get before when Query Cache didn't work with JBossCache. If I turn Query Cache off then everything works fine.

Mike

Hibernate version: 3.0.1

Full stack trace of any exception that occurs:

Code:
10:04:14,983 INFO  [STDOUT] Hibernate: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id)
10:04:14,998 ERROR [IdentityLock] write lock for //org/hibernate/cache/StandardQueryCache/sql: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id); parameters: ROOT, ; named parameters: {} could not be acquired after 0 ms. Locks: Read lock owners: [<null>:4]
Write lock owner: null
(caller=Thread[http-0.0.0.0-8443-3,5,jboss], lock info: read owners=[<null>:4] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0))
10:04:14,998 ERROR [TransactionInterceptor] Application exception overridden by rollback exception
org.springframework.orm.hibernate3.HibernateSystemException: org.jboss.cache.lock.TimeoutException: write lock for //org/hibernate/cache/StandardQueryCache/sql: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id); parameters: ROOT, ; named parameters: {} could not be acquired after 0 ms. Locks: Read lock owners: [<null>:4]
Write lock owner: null
(caller=Thread[http-0.0.0.0-8443-3,5,jboss], lock info: read owners=[<null>:4] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0)); nested exception is org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: write lock for //org/hibernate/cache/StandardQueryCache/sql: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id); parameters: ROOT, ; named parameters: {} could not be acquired after 0 ms. Locks: Read lock owners: [<null>:4]
Write lock owner: null
(caller=Thread[http-0.0.0.0-8443-3,5,jboss], lock info: read owners=[<null>:4] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0))
org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: write lock for //org/hibernate/cache/StandardQueryCache/sql: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id); parameters: ROOT, ; named parameters: {} could not be acquired after 0 ms. Locks: Read lock owners: [<null>:4]
Write lock owner: null
(caller=Thread[http-0.0.0.0-8443-3,5,jboss], lock info: read owners=[<null>:4] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0))
   at org.hibernate.cache.TreeCache.put(TreeCache.java:62)
   at org.hibernate.cache.StandardQueryCache.put(StandardQueryCache.java:69)
   at org.hibernate.loader.Loader.list(Loader.java:1494)
   at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:400)
   at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271)
   at org.hibernate.impl.SessionImpl.list(SessionImpl.java:791)
   at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
   at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:748)
   at com.avaloninc.support.HibernateTemplateWithReadOnlySupport.execute(HibernateTemplateWithReadOnlySupport.java:70)
   at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:739)
   at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:735)
   at com.avaloninc.account.logic.UserLogic.findUserByUsername(UserLogic.java:202)
   at com.avaloninc.account.logic.UserLogic.getCurrentLoggedInUser(UserLogic.java:341)
   at com.avaloninc.account.logic.UserLogic$$EnhancerByCGLIB$$758de2fd.getCurrentLoggedInUser(<generated>)
   at com.avaloninc.account.logic.AccountLogic.checkAccountAccess(AccountLogic.java:95)
   at com.avaloninc.account.logic.UserLogic.updateUser(UserLogic.java:171)
   at com.avaloninc.account.logic.UserLogic$$FastClassByCGLIB$$7f88ca46.invoke(<generated>)
   at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
   at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
   at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:161)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
   at com.avaloninc.account.logic.UserLogic$$EnhancerByCGLIB$$758de2fd.updateUser(<generated>)
   at com.avaloninc.account.web.UserDataManager.update(UserDataManager.java:77)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at com.sun.faces.el.impl.MethodInvokeVisitor.handleMethod(Unknown Source)
   at com.sun.faces.el.impl.MethodAbstractVisitor.visit(Unknown Source)
   at com.sun.faces.el.impl.AstValue.jjtAccept(Unknown Source)
   at com.sun.faces.el.MethodBindingImpl.invoke(Unknown Source)
   at javax.faces.component.UICommand.broadcast(UICommand.java:300)
   at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:400)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:696)
   at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:70)
   at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:169)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractIntegrationFilter.doFilter(AbstractIntegrationFilter.java:170)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:333)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.account.support.AvalonContextFilter.doFilter(AvalonContextFilter.java:71)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
   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:75)
   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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
   at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.cache.lock.TimeoutException: write lock for //org/hibernate/cache/StandardQueryCache/sql: select user0_.user_id as user1_, user0_.account_id as account2_44_, user0_.first_name as first3_44_, user0_.last_name as last4_44_, user0_.email as email44_, user0_.group_id as group6_44_, user0_.deleted as deleted44_ from users user0_, principals principal1_ where (upper(principal1_.username)=?  and user0_.user_id=principal1_.principal_id); parameters: ROOT, ; named parameters: {} could not be acquired after 0 ms. Locks: Read lock owners: [<null>:4]
Write lock owner: null
(caller=Thread[http-0.0.0.0-8443-3,5,jboss], lock info: read owners=[<null>:4] (activeReaders=1, activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0))
   at org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:173)
   at org.jboss.cache.Node.acquireWriteLock(Node.java:483)
   at org.jboss.cache.Node.acquire(Node.java:440)
   at org.jboss.cache.interceptors.LockInterceptor.lock(LockInterceptor.java:240)
   at org.jboss.cache.interceptors.LockInterceptor.invoke(LockInterceptor.java:156)
   at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:40)
   at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:35)
   at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3102)
   at org.jboss.cache.TreeCache.putFailFast(TreeCache.java:1710)
   at org.hibernate.cache.TreeCache.put(TreeCache.java:58)
   ... 88 more
10:04:15,014 ERROR [InvokeApplicationPhase] No transaction.
java.lang.IllegalStateException: No transaction.
   at org.jboss.tm.TxManager.rollback(TxManager.java:331)
   at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134)
   at org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:704)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:464)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCloseTransactionAfterThrowing(TransactionAspectSupport.java:274)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
   at com.avaloninc.account.logic.UserLogic$$EnhancerByCGLIB$$758de2fd.updateUser(<generated>)
   at com.avaloninc.account.web.UserDataManager.update(UserDataManager.java:77)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at com.sun.faces.el.impl.MethodInvokeVisitor.handleMethod(Unknown Source)
   at com.sun.faces.el.impl.MethodAbstractVisitor.visit(Unknown Source)
   at com.sun.faces.el.impl.AstValue.jjtAccept(Unknown Source)
   at com.sun.faces.el.MethodBindingImpl.invoke(Unknown Source)
   at javax.faces.component.UICommand.broadcast(UICommand.java:300)
   at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:400)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:696)
   at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:70)
   at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:169)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractIntegrationFilter.doFilter(AbstractIntegrationFilter.java:170)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:333)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.account.support.AvalonContextFilter.doFilter(AvalonContextFilter.java:71)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
   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:75)
   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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
   at java.lang.Thread.run(Thread.java:595)
10:04:15,014 ERROR [StandardWrapper[:FacesServlet]] Servlet.service() for servlet FacesServlet threw exception
java.lang.IllegalStateException: No transaction.
   at org.jboss.tm.TxManager.rollback(TxManager.java:331)
   at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134)
   at org.springframework.transaction.jta.JtaTransactionManager.doRollback(JtaTransactionManager.java:704)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:464)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.doCloseTransactionAfterThrowing(TransactionAspectSupport.java:274)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
   at com.avaloninc.account.logic.UserLogic$$EnhancerByCGLIB$$758de2fd.updateUser(<generated>)
   at com.avaloninc.account.web.UserDataManager.update(UserDataManager.java:77)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at com.sun.faces.el.impl.MethodInvokeVisitor.handleMethod(Unknown Source)
   at com.sun.faces.el.impl.MethodAbstractVisitor.visit(Unknown Source)
   at com.sun.faces.el.impl.AstValue.jjtAccept(Unknown Source)
   at com.sun.faces.el.MethodBindingImpl.invoke(Unknown Source)
   at javax.faces.component.UICommand.broadcast(UICommand.java:300)
   at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:400)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:696)
   at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
   at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:70)
   at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:169)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractIntegrationFilter.doFilter(AbstractIntegrationFilter.java:170)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:333)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.account.support.AvalonContextFilter.doFilter(AvalonContextFilter.java:71)
   at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:105)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at com.avaloninc.support.OpenSessionInViewWithInitial.doFilterInternal(OpenSessionInViewWithInitial.java:73)
   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
   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:75)
   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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
   at java.lang.Thread.run(Thread.java:595)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 18, 2005 12:10 pm 
Regular
Regular

Joined: Thu Aug 26, 2004 9:23 pm
Posts: 71
One other note in case it matters, I'm using jboss-hibernate integration from HEAD in CVS and the DeployedTreeCacheProvider.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 4:02 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
I suspect that this is probably the result of using the query cache with a REPEATABLE_READ JBossCache. You should not see the problem if you run in READ_COMMITTED.

But, I have made some changes in CVS (that will be released in 3.0.2) that should fix this problem by disabling read locks even if the cache is in REPEATABLE_READ.

Please try this out with the latest CVS and let us know how you go. TIA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 11:29 am 
Regular
Regular

Joined: Thu Aug 26, 2004 9:23 pm
Posts: 71
Gavin,

You are correct I am using REPEATABLE_READ. Is there a hibernate nightly anywhere or will I need to check-out and build from cvs?

Mike


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.