From: Wolfgang M. <wol...@ex...> - 2012-02-07 10:30:11
|
Hi, running out of disk space (which is what happened as you told me in a private email) can certainly lead to index files being incomplete. If the reindex fails, you should definitely create an emergency backup, clear the db and restore. Wolfgang > Hi, > > I am having troubles with my eXist instance, all queries are failing with > the following error message: > I tried to reindex the collection with no success, it fails with an error as > well.... I do need help on this, i am afraid of loosing my database... > > Many thanks, > Marc > > 2012-02-06 12:03:14,587 [catalina-exec-188] WARN (BFile.java > [getAsStream]:471) - An exception occurred while trying to retrieve key > Collection id : 14344 Type : attributeInvalid data length !!!: Invalid Page > Type In findValue > org.exist.storage.btree.BTreeException: Invalid Page Type In findValue > at org.exist.storage.btree.BTree$BTreeNode.findValue(BTree.java:1474) > at org.exist.storage.btree.BTree$BTreeNode.findValue(BTree.java:1466) > at org.exist.storage.btree.BTree$BTreeNode.findValue(BTree.java:1466) > at org.exist.storage.btree.BTree$BTreeNode.access$200(BTree.java:736) > at org.exist.storage.btree.BTree.findValue(BTree.java:291) > at org.exist.storage.index.BFile.getAsStream(BFile.java:460) > at > org.exist.storage.NativeElementIndex.findElementsByTagName(NativeElementIndex.java:509) > at org.exist.xquery.LocationStep.getAttributes(LocationStep.java:534) > at org.exist.xquery.LocationStep.eval(LocationStep.java:363) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at > org.exist.xquery.GeneralComparison.quickNodeSetCompare(GeneralComparison.java:552) > at org.exist.xquery.GeneralComparison.eval(GeneralComparison.java:377) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.Predicate.selectByNodeSet(Predicate.java:333) > at org.exist.xquery.Predicate.evalPredicate(Predicate.java:207) > at org.exist.xquery.LocationStep.processPredicate(LocationStep.java:236) > at org.exist.xquery.LocationStep.applyPredicate(LocationStep.java:225) > at org.exist.xquery.LocationStep.eval(LocationStep.java:390) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.LetExpr.eval(LetExpr.java:155) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.ForExpr.eval(ForExpr.java:312) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:158) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:137) > at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) > at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:274) > at org.exist.xquery.FunctionCall.eval(FunctionCall.java:201) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.LetExpr.eval(LetExpr.java:155) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:158) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:137) > at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) > at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:274) > at org.exist.xquery.FunctionCall.eval(FunctionCall.java:201) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at > org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:56) > at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:63) > at org.exist.xquery.LetExpr.eval(LetExpr.java:208) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:158) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:137) > at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:61) > at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:274) > at org.exist.xquery.FunctionCall.eval(FunctionCall.java:201) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at > org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:102) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:56) > at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:63) > at org.exist.xquery.LetExpr.eval(LetExpr.java:208) > at org.exist.xquery.LetExpr.eval(LetExpr.java:206) > at org.exist.xquery.BindingExpression.eval(BindingExpression.java:158) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:70) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:271) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.PathExpr.eval(PathExpr.java:241) > at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:61) > at org.exist.xquery.XQuery.execute(XQuery.java:228) > at org.exist.xquery.XQuery.execute(XQuery.java:183) > at org.exist.http.RESTServer.executeXQuery(RESTServer.java:1332) > at org.exist.http.RESTServer.doPost(RESTServer.java:625) > at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:563) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:342) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) > at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) > at > org.exist.http.urlrewrite.XQueryURLRewrite.doFilter(XQueryURLRewrite.java:212) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > com.itesoft.existdboscache.CustomCacheFilter.doFilter(CustomCacheFilter.java:27) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291) > at > org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877) > at > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594) > at > org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2185) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > > PS: > Reindex error from ant script: > XMLDB exception caught while executing query: Failed to invoke method queryP > in class org.exist.xmlrpc.RpcConnection: > java.lang.ArrayIndexOutOfBoundsException: 6196 > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |