From: <sju...@mr...> - 2024-03-13 18:13:10
|
Do you have Backups? Just reinstall and restore from Backup Alternative, backup Data forlder (just in case) --> under data folder, keep dom, collections and symbols and delete the rest of files(keep folders)... after reinstalling eXist, execute reindex ... it may take a while, but it should recover. Finally --> if nothing works, you can try to rescue data using consistency check tool ... navigate to exist folder and run java -Xms256m -Xmx2048m -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -jar start.jar org.exist.backup.ExportGUI One of those steps usually works for me! Good luck! Sava On 2024-03-13 10:33, Alfredo Cosco wrote: > Hello, > I was testing an application on an exist 4..8.0 and ata moment everything blocked. > I was unable to stop the server and i had to kill it by shell. > > I tried the RECOVERY procedure in: > webapp/WEB-INF/data/RECOVERY > > But doesn't work > > I cannot access also to the Dashboard or eXide > > Please help me, I'm desperate, months of job wasted. > Thanks, > Alfredo > > this is the error i see on the page: > > HTTP ERROR 500 > > Problem accessing /exist/apps/eXide/index.html. Reason: > > Server Error > > CAUSED BY: > > javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/apps/eXide/index.html: exerr:ERROR Stream closed > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.Server.handle(Server.java:502) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) > at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) > at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) > at java.lang.Thread.run(Thread.java:750) > Caused by: javax.servlet.ServletException: An error occurred while processing request to /exist/apps/eXide/index.html: exerr:ERROR Stream closed > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:370) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) > at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) > ... 16 more > Caused by: org.exist.xquery.StaticXQueryException: exerr:ERROR Stream closed > at org.exist.xquery.XQuery.compile(XQuery.java:172) > at org.exist.xquery.XQuery.compile(XQuery.java:79) > at org.exist.xquery.XQuery.compile(XQuery.java:71) > at org.exist.http.urlrewrite.XQueryURLRewrite.runQuery(XQueryURLRewrite.java:668) > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:242) > ... 37 more > Caused by: antlr.TokenStreamIOException: Stream closed > at org.exist.xquery.parser.XQueryLexer.nextToken(XQueryLexer.java:243) > at antlr.TokenBuffer.fill(TokenBuffer.java:69) > at antlr.TokenBuffer.LA [1](TokenBuffer.java:80) > at antlr.LLkParser.LA [2](LLkParser.java:52) > at org.exist.xquery.parser.XQueryParser.xpath(XQueryParser.java:499) > at org.exist.xquery.XQuery.compile(XQuery.java:110) > ... 41 more > > CAUSED BY: > > javax.servlet.ServletException: An error occurred while processing request to /exist/apps/eXide/index.html: exerr:ERROR Stream closed > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:370) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) > at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.Server.handle(Server.java:502) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) > at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) > at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) > at java.lang.Thread.run(Thread.java:750) > Caused by: org.exist.xquery.StaticXQueryException: exerr:ERROR Stream closed > at org.exist.xquery.XQuery.compile(XQuery.java:172) > at org.exist.xquery.XQuery.compile(XQuery.java:79) > at org.exist.xquery.XQuery.compile(XQuery.java:71) > at org.exist.http.urlrewrite.XQueryURLRewrite.runQuery(XQueryURLRewrite.java:668) > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:242) > ... 37 more > Caused by: antlr.TokenStreamIOException: Stream closed > at org.exist.xquery.parser.XQueryLexer.nextToken(XQueryLexer.java:243) > at antlr.TokenBuffer.fill(TokenBuffer.java:69) > at antlr.TokenBuffer.LA [1](TokenBuffer.java:80) > at antlr.LLkParser.LA [2](LLkParser.java:52) > at org.exist.xquery.parser.XQueryParser.xpath(XQueryParser.java:499) > at org.exist.xquery.XQuery.compile(XQuery.java:110) > ... 41 more > > CAUSED BY: > > org.exist.xquery.StaticXQueryException: exerr:ERROR Stream closed > at org.exist.xquery.XQuery.compile(XQuery.java:172) > at org.exist.xquery.XQuery.compile(XQuery.java:79) > at org.exist.xquery.XQuery.compile(XQuery.java:71) > at org.exist.http.urlrewrite.XQueryURLRewrite.runQuery(XQueryURLRewrite.java:668) > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:242) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) > at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.Server.handle(Server.java:502) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) > at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) > at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) > at java.lang.Thread.run(Thread.java:750) > Caused by: antlr.TokenStreamIOException: Stream closed > at org.exist.xquery.parser.XQueryLexer.nextToken(XQueryLexer.java:243) > at antlr.TokenBuffer.fill(TokenBuffer.java:69) > at antlr.TokenBuffer.LA [1](TokenBuffer.java:80) > at antlr.LLkParser.LA [2](LLkParser.java:52) > at org.exist.xquery.parser.XQueryParser.xpath(XQueryParser.java:499) > at org.exist.xquery.XQuery.compile(XQuery.java:110) > ... 41 more > > CAUSED BY: > > antlr.TokenStreamIOException: Stream closed > at org.exist.xquery.parser.XQueryLexer.nextToken(XQueryLexer.java:243) > at antlr.TokenBuffer.fill(TokenBuffer.java:69) > at antlr.TokenBuffer.LA [1](TokenBuffer.java:80) > at antlr.LLkParser.LA [2](LLkParser.java:52) > at org.exist.xquery.parser.XQueryParser.xpath(XQueryParser.java:499) > at org.exist.xquery.XQuery.compile(XQuery.java:110) > at org.exist.xquery.XQuery.compile(XQuery.java:79) > at org.exist.xquery.XQuery.compile(XQuery.java:71) > at org.exist.http.urlrewrite.XQueryURLRewrite.runQuery(XQueryURLRewrite.java:668) > at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:242) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) > at de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171) > at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) > at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) > at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) > at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220) > at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) > at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) > at org.eclipse.jetty.server.Server.handle(Server.java:502) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) > at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) > at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) > at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) > at java.lang.Thread.run(Thread.java:750) > > ------------------------- > Powered by Jetty:// 9.4.14.v20181114 [3] > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open Links: ------ [1] http://antlr.TokenBuffer.LA [2] http://antlr.LLkParser.LA [3] http://eclipse.org/jetty |