Resin 4 自毁 错误日志: java.lang.IllegalStateException: block Block 异常处理办法

[18-12-06 10:36:18.659] {PSP103617995a607} java.lang.IllegalStateException: block Block[Table[mnode:2,d:\Install\work\resin-pro-4.0.51\resin-data\app-0\distcache\mnode.db],e002,copy=false,load=false,dirty=false] is not an index code=0
                       	at com.caucho.db.block.Block.validateIsIndex(Block.java:162)
                       	at com.caucho.db.index.BTree.validateIndex(BTree.java:1741)
                       	at com.caucho.db.index.BTree.lookup(BTree.java:200)
                       	at com.caucho.db.index.BTree.lookup(BTree.java:215)
                       	at com.caucho.db.index.BTree.lookup(BTree.java:171)
                       	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:969)
                       	at com.caucho.db.sql.Query.start(Query.java:728)
                       	at com.caucho.db.sql.SelectQuery.execute(SelectQuery.java:221)
                       	at com.caucho.db.sql.SelectQuery.execute(SelectQuery.java:176)
                       	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:568)
                       	at com.caucho.server.distcache.CacheDataBackingImpl.loadLocalEntryValue(CacheDataBackingImpl.java:162)
                       	at com.caucho.server.distcache.DistCacheEntry.loadLocalMnodeValue(DistCacheEntry.java:1512)
                       	at com.caucho.server.distcache.CacheEntryManager.createCacheEntry(CacheEntryManager.java:83)
                       	at com.caucho.server.distcache.CacheStoreManager.getCacheEntry(CacheStoreManager.java:153)
                       	at com.caucho.server.distcache.CacheImpl.getDistCacheEntry(CacheImpl.java:690)
                       	at com.caucho.server.distcache.CacheImpl.put(CacheImpl.java:486)
                       	at com.caucho.server.session.SessionImpl.save(SessionImpl.java:962)
                       	at com.caucho.server.session.SessionImpl.saveAfterRequest(SessionImpl.java:919)
                       	at com.caucho.server.session.SessionImpl.finishRequest(SessionImpl.java:654)
                       	at com.caucho.server.http.AbstractCauchoRequest.finishRequest(AbstractCauchoRequest.java:1080)
                       	at com.caucho.server.http.HttpServletRequestImpl.finishRequest(HttpServletRequestImpl.java:1744)
                       	at com.caucho.server.http.AbstractHttpRequest.finishRequest(AbstractHttpRequest.java:1870)
                       	at com.caucho.server.http.HttpRequest.finishRequest(HttpRequest.java:1495)
                       	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:870)
                       	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1353)
                       	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1309)
                       	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1293)
                       	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1201)
                       	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:997)
                       	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)
                       
[18-12-06 10:36:18.660] {PSP103617995a607} WarningService: Shutdown: Internal database issue: forcing restart java.lang.IllegalStateException: block Block[Table[mnode:2,d:\Install\work\resin-pro-4.0.51\resin-data\app-0\distcache\mnode.db],e002,copy=false,load=false,dirty=false] is not an index code=0
WarningService: Shutdown: Internal database issue: forcing restart java.lang.IllegalStateException: block Block[Table[mnode:2,d:\Install\work\resin-pro-4.0.51\resin-data\app-0\distcache\mnode.db],e002,copy=false,load=false,dirty=false] is not an index code=0
[18-12-06 10:36:18.923] {resin-shutdown} ServletService[id=app-0,cluster=app] stopping
[18-12-06 10:36:18.924] {resin-shutdown} Host[production/host/default] stopping
[18-12-06 10:36:18.925] {resin-shutdown} WebApp[production/webapp/default/spay_rest] stopping
[18-12-06 10:36:18.934] {resin-shutdown} WebApp[production/webapp/default/spay_rest,STOPPING] Destroying Spring FrameworkServlet 'dispatcher'
[18-12-06 10:36:18.935] {resin-shutdown} WebApp[production/webapp/default/spay_rest,STOPPING] Closing Spring root WebApplicationContext
[18-12-06 10:36:18.939] {resin-shutdown} WebApp[production/webapp/default/spay_rest,STOPPING] Closing Spring root WebApplicationContext
[18-12-06 10:36:18.946] {resin-shutdown} WebApp[production/webapp/default/spay_rest,STOPPING] Shutting down log4j
[18-12-06 10:36:19.083] {resin-shutdown} WebApp[production/webapp/default/resin-doc] stopping
[18-12-06 10:36:19.087] {resin-shutdown} WebApp[production/webapp/default/ROOT] stopping
[18-12-06 10:36:19.088] {resin-shutdown} WebApp[production/webapp/default/resin-admin] stopping

Shutdown Resin reason: HEALTH

[18-12-06 10:36:20.060] {resin-shutdown} Shutdown Resin reason: HEALTH
log4j:WARN No appenders could be found for logger (com.alibaba.dubbo.config.AbstractConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

报错提示如上:

错误表现:自毁

错误原因:尚未查明

处理办法:将提示信息中第一行的   d:\Install\work\resin-pro-4.0.51\resin-data\app-0\distcache\mnode.db   文件删除,或者移动即可,重启resin,正常使用

相关推荐

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:技术黑板 设计师:CSDN官方博客 返回首页

打赏作者

图图不糊涂

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值