Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003732 [Resin] minor always 10-01-09 11:40 01-07-10 11:29
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.1
Summary 0003732: session serialization
Description server can't serialize an object in resin_data_default.db, which is 700Mb large. I'm not sure why the file size is so big. Here is the error log.

[09-10-29 08:28:57.476] {http--8090-24} java.lang.IllegalStateException: block at 2066c21694890000 is invalid for file /C:/resin-pro-4.0.1/resin-data/resin_data_default.db (length 2b9b0000)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Store.readBlock(Store.java:1720)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Block.read(Block.java:165)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Store.readBlock(Store.java:491)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Transaction.readBlock(Transaction.java:377)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Store.writeBlockLong(Store.java:1300)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Inode.writeBlockAddr(Inode.java:1156)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Inode.appendBlock(Inode.java:518)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.Inode.append(Inode.java:396)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.BlobOutputStream.flushBlock(BlobOutputStream.java:209)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.store.BlobOutputStream.writeFromStream(BlobOutputStream.java:156)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.table.BlobColumn.setStream(BlobColumn.java:179)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.table.BlobColumn.setExpr(BlobColumn.java:289)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.table.Table.insertRow(Table.java:778)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.table.Table.insert(Table.java:725)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.sql.InsertQuery.execute(InsertQuery.java:112)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:345)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:311)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.distcache.DataStore.insert(DataStore.java:358)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.distcache.DataStore.save(DataStore.java:329)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.distcache.AbstractDataCacheManager.writeData(AbstractDataCacheManager.java:952)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.distcache.AbstractDataCacheManager.putStream(AbstractDataCacheManager.java:394)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.distcache.FileCacheEntry.put(FileCacheEntry.java:117)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.distcache.AbstractCache.put(AbstractCache.java:492)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.session.SessionImpl.save(SessionImpl.java:745)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.connection.AbstractHttpRequest.saveSession(AbstractHttpRequest.java:2969)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.connection.AbstractHttpResponse.sendRedirect(AbstractHttpResponse.java:726)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.connection.HttpServletResponseImpl.sendRedirect(HttpServletResponseImpl.java:292)
[09-10-29 08:28:57.476] {http--8090-24} at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:109)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendRedirect(SaveContextOnUpdateOrErrorResponseWrapper.java:75)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendRedirect(FlowHandlerAdapter.java:324)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendFlowExecutionRedirect(FlowHandlerAdapter.java:372)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handleFlowExecutionResult(FlowHandlerAdapter.java:339)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:184)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
[09-10-29 08:28:57.476] {http--8090-24} at javax.servlet.http.HttpServlet.service(HttpServlet.java:158)
[09-10-29 08:28:57.476] {http--8090-24} at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:114)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:344)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:110)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:79)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:98)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.authentication.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:110)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:150)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
[09-10-29 08:28:57.476] {http--8090-24} at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:184)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:264)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:280)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:579)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1357)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1298)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:874)
[09-10-29 08:28:57.476] {http--8090-24} at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:787)
Additional Information
Attached Files

- Relationships

- Notes
(0004271)
alex
10-01-09 15:11
edited on: 10-01-09 15:12

KennethYeung: regardless of what our application did, the resin server should not throw any IllegalStateException.

 
(0004279)
alex
11-04-09 10:34

resin 3.1.9 affected also
=======================

[22:06:21.858] {http--8090-25$589129105} java.lang.IllegalStateException: block at c75585efd88e0000 is invalid for file /C:/resin-pro-3.1.9/session/srun_.db (length 1500000)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Store.readBlock(Store.java:1699)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Block.read(Block.java:157)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Store.readBlock(Store.java:475)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Transaction.readBlock(Transaction.java:372)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Store.writeBlockLong(Store.java:1278)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Inode.writeBlockAddr(Inode.java:1118)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Inode.appendBlock(Inode.java:496)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.Inode.append(Inode.java:388)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.BlobOutputStream.flushBlock(BlobOutputStream.java:188)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.store.BlobOutputStream.write(BlobOutputStream.java:117)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.table.BlobColumn.setStream(BlobColumn.java:179)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.table.BlobColumn.set(BlobColumn.java:267)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.sql.UpdateQuery.execute(UpdateQuery.java:110)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.jdbc.PreparedStatementImpl.execute(PreparedStatementImpl.java:345)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.db.jdbc.PreparedStatementImpl.executeUpdate(PreparedStatementImpl.java:313)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.cluster.FileBacking.storeSelfUpdate(FileBacking.java:524)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.cluster.FileBacking.storeSelf(FileBacking.java:474)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.cluster.ClusterStore.store(ClusterStore.java:642)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.cluster.ClusterObject.store(ClusterObject.java:436)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.session.SessionImpl.save(SessionImpl.java:952)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.connection.AbstractHttpRequest.saveSession(AbstractHttpRequest.java:2518)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.connection.AbstractHttpResponse.sendRedirect(AbstractHttpResponse.java:659)
[22:06:21.858] {http--8090-25$589129105} at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:109)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendRedirect(SaveContextOnUpdateOrErrorResponseWrapper.java:75)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendRedirect(FlowHandlerAdapter.java:324)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendFlowExecutionRedirect(FlowHandlerAdapter.java:372)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handleFlowExecutionResult(FlowHandlerAdapter.java:339)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:184)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
[22:06:21.858] {http--8090-25$589129105} at javax.servlet.http.HttpServlet.service(HttpServlet.java:153)
[22:06:21.858] {http--8090-25$589129105} at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:344)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:110)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:79)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:98)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.authentication.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:110)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:150)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
[22:06:21.858] {http--8090-25$589129105} at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:148)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
[22:06:21.858] {http--8090-25$589129105} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
[22:06:21.858] {http--8090-25$589129105} at java.lang.Thread.run(Thread.java:619)
 

- Issue History
Date Modified Username Field Change
10-01-09 11:40 alex New Issue
10-01-09 15:11 alex Note Added: 0004271
10-01-09 15:12 alex Note Edited: 0004271
10-01-09 15:13 alex Description Updated
11-04-09 10:34 alex Note Added: 0004279
01-07-10 11:29 ferg Assigned To  => ferg
01-07-10 11:29 ferg Status new => closed
01-07-10 11:29 ferg Resolution open => fixed
01-07-10 11:29 ferg Fixed in Version  => 4.0.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker