Mantis - Resin
Viewing Issue Advanced Details
5624 minor always 12-30-13 08:29 11-03-14 14:46
alex  
ferg  
normal  
closed 4.0.35  
fixed  
none    
none 4.0.42  
0005624: com.caucho.db.lock.LockTimeoutException
rep. by SHINOMIYA Nobuaki

com.caucho.db.lock.LockTimeoutException
    at com.caucho.db.lock.DatabaseLock.lockReadWait(DatabaseLock.java:292)
    at com.caucho.db.lock.DatabaseLock.lockRead(DatabaseLock.java:127)
    at com.caucho.db.lock.DatabaseLock$ReadLockImpl.tryLock(DatabaseLock.java:369)
    at com.caucho.db.index.BTree.lookup(BTree.java:194)
    at com.caucho.db.index.BTree.lookup(BTree.java:168)
    at com.caucho.db.sql.IndexExpr.evalIndex(IndexExpr.java:152)
    at com.caucho.db.sql.IndexExpr.initRow(IndexExpr.java:104)
    at com.caucho.db.sql.Query$TailInitRow.initBlockRow(Query.java:952)
    at com.caucho.db.sql.Query.start(Query.java:727)
    at com.caucho.db.sql.SelectQuery.execute(SelectQuery.java:209)
    at com.caucho.db.sql.SelectQuery.execute(SelectQuery.java:171)
    at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:357)
    at com.caucho.db.jdbc.PreparedStatementImpl.executeQuery(PreparedStatementImpl.java:325)
    at com.caucho.server.distcache.MnodeStore.load(MnodeStore.java:535)
    at com.caucho.server.distcache.CacheDataBackingImpl.loadLocalEntryValue(CacheDataBackingImpl.java:108)
    at com.caucho.server.distcache.DistCacheEntry.loadLocalMnodeValue(DistCacheEntry.java:1478)
    at com.caucho.server.distcache.DistCacheEntry.loadMnodeValue(DistCacheEntry.java:1028)
    at com.caucho.server.distcache.DistCacheEntry.loadMnodeValue(DistCacheEntry.java:187)
    at com.caucho.server.distcache.CacheImpl.getExtCacheEntry(CacheImpl.java:359)
    at com.caucho.server.session.SessionImpl.load(SessionImpl.java:687)
    at com.caucho.server.session.SessionManager.createSession(SessionManager.java:1388)
    at com.caucho.server.http.AbstractCauchoRequest.createSession(AbstractCauchoRequest.java:688)
    at com.caucho.server.http.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:630)
    at com.caucho.server.http.AbstractCauchoRequest.getSession(AbstractCauchoRequest.java:607)
    at jp.co.intra_mart.system.context.impl.cache.SessionContextCachePolicy.getSession(SessionContextCachePolicy.java:107)
    at jp.co.intra_mart.system.context.impl.cache.SessionContextCachePolicy.getContext(SessionContextCachePolicy.java:47)
    at jp.co.intra_mart.system.context.core.cache.CachingContextBuilderSupport.getCache(CachingContextBuilderSupport.java:74)
    at jp.co.intra_mart.system.context.core.cache.CachingContextBuilderSupport.build(CachingContextBuilderSupport.java:33)
    at jp.co.intra_mart.system.context.impl.command.LifecycleBeginOperation.buildContext(LifecycleBeginOperation.java:96)
    at jp.co.intra_mart.system.context.impl.command.LifecycleBeginOperation.execute(LifecycleBeginOperation.java:64)
    at jp.co.intra_mart.system.context.impl.LifecycleImpl.begin(LifecycleImpl.java:76)
    at jp.co.intra_mart.system.context.web.impl.ContextFilter.doContextFilter(ContextFilter.java:73)
    at jp.co.intra_mart.system.context.web.impl.ContextFilter.doFilter(ContextFilter.java:47)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
    at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:90)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
    at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
    at org.seasar.struts.portlet.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:45)
    at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:89)
    at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298)
    at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:131)
    at com.caucho.server.webapp.ErrorPageManager.sendServletErrorImpl(ErrorPageManager.java:452)
    at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:195)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:158)
    at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:838)
    at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1345)
    at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1301)
    at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1285)
    at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1193)
    at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:992)
    at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
    at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
    at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
    at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
    at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
    at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)

Notes
(0006545)
ferg   
11-03-14 14:46   
Convert to use JDK's ReentrantReadWrite lock.