XML Oxygen search: 404 Not found when the file exists, or worse 500 error.

Thursday, 23 October 2014 · 6 messages · last reply 24 Oct 2014
FB
France Baril23 Oct 2014 03:05 #
Hi, We've been having this persistent issue with our webDAV connection to XML Oxygen. How to reproduce: 1. Create a DB with 200/300 documents. 2. Create a webDAV connection to the DB within an XML Oxygen project. 3. Right click the DB from the project > Find/Replace in files, and type a keyword to search for for all files *.xml 4. Run the search 3 to 5 times. Until you notice the error. The error doesn't always occur, but I'd be surprised if you didn't see it after 3 to 5 try. Example 500 error: System ID: http://admin@localhost :8984/webdav/en-us/topics/widget-bookmark.xml Severity: error Description: 500 Internal Server Error for: http://localhost:8984/webdav/en-us/topics/widget-bookmark.xml In the case of a 500 error, you need to restart the server to be able to open or search files from the DB again. Can anything be done to improve the situation? Regards, France
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
CG
Christian Grün23 Oct 2014 14:53 #
Hi France,
Quoted text · France Baril · 2 lines
> The error doesn't always occur, but I'd be surprised if you didn't see it > after 3 to 5 try.
For testing, I created a database with 500 documents (input appr. 80 MB) and another one with 20,000 documents (1 GB). Unfortunately (or maybe good for us?), I didn't manage to crash the WebDAV driver, using the latest snapshot (I didn't try any earlier version); maybe someone does? Can you find some additional information on the error in the log files or on stderr? Christian
CG
Christian Grünin reply to France Baril, 23 Oct 2014, 23:5723 Oct 2014 22:23 #
Are you working with a recent snapshot?
Quoted text · France Baril · 229 lines
On Thu, Oct 23, 2014 at 9:56 PM, France Baril <france.baril at architextus.com> wrote: > Attaching a full log... > > On Thu, Oct 23, 2014 at 12:52 PM, France Baril > <france.baril at architextus.com> wrote: >> >> Took me 6 searches on a DB with 272 documents to crash. I found a lot of >> these in the log: >> >> java.lang.RuntimeException: Data Access out of bounds: >> >> - pre value: 272 >> >> - #used blocks: 2 >> >> - #total locks: 2 >> >> - access: 1 (2 > 1] >> >> at org.basex.util.Util.notExpected(Util.java:53) >> >> at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:501) >> >> at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:187) >> >> at org.basex.data.Data.kind(Data.java:284) >> >> at org.basex.query.value.node.DBNode$4.next(DBNode.java:335) >> >> at org.basex.query.path.IterStep$1.next(IterStep.java:39) >> >> at org.basex.query.path.IterStep$1.next(IterStep.java:31) >> >> at org.basex.query.path.IterPath$1.next(IterPath.java:69) >> >> at org.basex.query.path.IterPath$1.next(IterPath.java:40) >> >> at org.basex.query.iter.Iter.value(Iter.java:64) >> >> at org.basex.query.expr.ParseExpr.value(ParseExpr.java:70) >> >> at org.basex.query.expr.TypeCheck.value(TypeCheck.java:84) >> >> at org.basex.query.expr.TypeCheck.iter(TypeCheck.java:79) >> >> at org.basex.query.MainModule.iter(MainModule.java:103) >> >> at org.basex.query.QueryContext.iter(QueryContext.java:338) >> >> at org.basex.query.QueryContext.execute(QueryContext.java:575) >> >> at org.basex.query.QueryProcessor.execute(QueryProcessor.java:101) >> >> at >> org.basex.http.webdav.impl.WebDAVLockService.execute(WebDAVLockService.java:159) >> >> at >> org.basex.http.webdav.impl.WebDAVLockService.lock(WebDAVLockService.java:111) >> >> at >> org.basex.http.webdav.BXAbstractResource.getCurrentActiveLock(BXAbstractResource.java:284) >> >> at >> org.basex.http.webdav.BXAbstractResource.access$300(BXAbstractResource.java:29) >> >> at >> org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:192) >> >> at >> org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:189) >> >> at org.basex.http.webdav.BXCode.eval(BXCode.java:37) >> >> at org.basex.http.webdav.BXCode.evalNoEx(BXCode.java:54) >> >> at >> org.basex.http.webdav.BXAbstractResource.getCurrentLock(BXAbstractResource.java:189) >> >> at >> com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:450) >> >> at >> com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:445) >> >> at com.bradmcevoy.http.webdav.PropertyMap.getProperty(PropertyMap.java:68) >> >> at >> com.bradmcevoy.http.webdav.WebDavProtocol.getProperty(WebDavProtocol.java:232) >> >> at >> com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:140) >> >> at >> com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:190) >> >> at >> com.bradmcevoy.http.webdav.PropFindPropertyBuilder.appendResponses(PropFindPropertyBuilder.java:107) >> >> at >> com.bradmcevoy.http.webdav.PropFindPropertyBuilder.buildProperties(PropFindPropertyBuilder.java:86) >> >> at >> com.bradmcevoy.http.webdav.PropFindHandler.processExistingResource(PropFindHandler.java:132) >> >> at >> com.bradmcevoy.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:149) >> >> at >> com.bradmcevoy.http.webdav.PropFindHandler.processResource(PropFindHandler.java:103) >> >> at >> com.bradmcevoy.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:91) >> >> at >> com.bradmcevoy.http.webdav.PropFindHandler.process(PropFindHandler.java:97) >> >> at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52) >> >> at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40) >> >> at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228) >> >> at org.basex.http.webdav.WebDAVServlet.run(WebDAVServlet.java:23) >> >> at org.basex.http.BaseXServlet.service(BaseXServlet.java:58) >> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) >> >> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) >> >> at >> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) >> >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) >> >> at >> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) >> >> at >> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) >> >> at >> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) >> >> at >> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) >> >> at >> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) >> >> at >> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) >> >> at >> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) >> >> at >> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) >> >> at org.eclipse.jetty.server.Server.handle(Server.java:370) >> >> at >> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) >> >> at >> org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) >> >> at >> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) >> >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) >> >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) >> >> at >> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) >> >> at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) >> >> at >> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) >> >> at >> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) >> >> at >> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) >> >> at java.lang.Thread.run(Thread.java:744) >> >> >> On Thu, Oct 23, 2014 at 5:53 AM, Christian Grün >> <christian.gruen at gmail.com> wrote: >>> >>> Hi France, >>> >>> > The error doesn't always occur, but I'd be surprised if you didn't see >>> > it >>> > after 3 to 5 try. >>> >>> For testing, I created a database with 500 documents (input appr. 80 >>> MB) and another one with 20,000 documents (1 GB). Unfortunately (or >>> maybe good for us?), I didn't manage to crash the WebDAV driver, using >>> the latest snapshot (I didn't try any earlier version); maybe someone >>> does? >>> >>> Can you find some additional information on the error in the log files >>> or on stderr? >>> >>> Christian >> >> >> >> >> -- >> France Baril >> Architecte documentaire / Documentation architect >> france.baril at architextus.com > > > > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com
FB
France Barilin reply to Christian Grün, 23 Oct 2014, 14:5323 Oct 2014 23:52 #
Took me 6 searches on a DB with 272 documents to crash. I found a lot of these in the log: java.lang.RuntimeException: Data Access out of bounds: - pre value: 272 - #used blocks: 2 - #total locks: 2 - access: 1 (2 > 1] at org.basex.util.Util.notExpected(Util.java:53) at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:501) at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:187) at org.basex.data.Data.kind(Data.java:284) at org.basex.query.value.node.DBNode$4.next(DBNode.java:335) at org.basex.query.path.IterStep$1.next(IterStep.java:39) at org.basex.query.path.IterStep$1.next(IterStep.java:31) at org.basex.query.path.IterPath$1.next(IterPath.java:69) at org.basex.query.path.IterPath$1.next(IterPath.java:40) at org.basex.query.iter.Iter.value(Iter.java:64) at org.basex.query.expr.ParseExpr.value(ParseExpr.java:70) at org.basex.query.expr.TypeCheck.value(TypeCheck.java:84) at org.basex.query.expr.TypeCheck.iter(TypeCheck.java:79) at org.basex.query.MainModule.iter(MainModule.java:103) at org.basex.query.QueryContext.iter(QueryContext.java:338) at org.basex.query.QueryContext.execute(QueryContext.java:575) at org.basex.query.QueryProcessor.execute(QueryProcessor.java:101) at org.basex.http.webdav.impl.WebDAVLockService.execute(WebDAVLockService.java:159) at org.basex.http.webdav.impl.WebDAVLockService.lock(WebDAVLockService.java:111) at org.basex.http.webdav.BXAbstractResource.getCurrentActiveLock(BXAbstractResource.java:284) at org.basex.http.webdav.BXAbstractResource.access$300(BXAbstractResource.java:29) at org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:192) at org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:189) at org.basex.http.webdav.BXCode.eval(BXCode.java:37) at org.basex.http.webdav.BXCode.evalNoEx(BXCode.java:54) at org.basex.http.webdav.BXAbstractResource.getCurrentLock(BXAbstractResource.java:189) at com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:450) at com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:445) at com.bradmcevoy.http.webdav.PropertyMap.getProperty(PropertyMap.java:68) at com.bradmcevoy.http.webdav.WebDavProtocol.getProperty(WebDavProtocol.java:232) at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:140) at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:190) at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.appendResponses(PropFindPropertyBuilder.java:107) at com.bradmcevoy.http.webdav.PropFindPropertyBuilder.buildProperties(PropFindPropertyBuilder.java:86) at com.bradmcevoy.http.webdav.PropFindHandler.processExistingResource(PropFindHandler.java:132) at com.bradmcevoy.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:149) at com.bradmcevoy.http.webdav.PropFindHandler.processResource(PropFindHandler.java:103) at com.bradmcevoy.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:91) at com.bradmcevoy.http.webdav.PropFindHandler.process(PropFindHandler.java:97) at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52) at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40) at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228) at org.basex.http.webdav.WebDAVServlet.run(WebDAVServlet.java:23) at org.basex.http.BaseXServlet.service(BaseXServlet.java:58) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:744)
Quoted text · Christian Grün · 18 lines
On Thu, Oct 23, 2014 at 5:53 AM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi France, > > > The error doesn't always occur, but I'd be surprised if you didn't see it > > after 3 to 5 try. > > For testing, I created a database with 500 documents (input appr. 80 > MB) and another one with 20,000 documents (1 GB). Unfortunately (or > maybe good for us?), I didn't manage to crash the WebDAV driver, using > the latest snapshot (I didn't try any earlier version); maybe someone > does? > > Can you find some additional information on the error in the log files > or on stderr? > > Christian >
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
FB
France Baril23 Oct 2014 23:57 #
Attaching a full log...
Quoted text · France Baril · 216 lines
On Thu, Oct 23, 2014 at 12:52 PM, France Baril <france.baril at architextus.com > wrote: > Took me 6 searches on a DB with 272 documents to crash. I found a lot of > these in the log: > > java.lang.RuntimeException: Data Access out of bounds: > > - pre value: 272 > > - #used blocks: 2 > > - #total locks: 2 > > - access: 1 (2 > 1] > > at org.basex.util.Util.notExpected(Util.java:53) > > at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:501) > > at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:187) > > at org.basex.data.Data.kind(Data.java:284) > > at org.basex.query.value.node.DBNode$4.next(DBNode.java:335) > > at org.basex.query.path.IterStep$1.next(IterStep.java:39) > > at org.basex.query.path.IterStep$1.next(IterStep.java:31) > > at org.basex.query.path.IterPath$1.next(IterPath.java:69) > > at org.basex.query.path.IterPath$1.next(IterPath.java:40) > > at org.basex.query.iter.Iter.value(Iter.java:64) > > at org.basex.query.expr.ParseExpr.value(ParseExpr.java:70) > > at org.basex.query.expr.TypeCheck.value(TypeCheck.java:84) > > at org.basex.query.expr.TypeCheck.iter(TypeCheck.java:79) > > at org.basex.query.MainModule.iter(MainModule.java:103) > > at org.basex.query.QueryContext.iter(QueryContext.java:338) > > at org.basex.query.QueryContext.execute(QueryContext.java:575) > > at org.basex.query.QueryProcessor.execute(QueryProcessor.java:101) > > at > org.basex.http.webdav.impl.WebDAVLockService.execute(WebDAVLockService.java:159) > > at > org.basex.http.webdav.impl.WebDAVLockService.lock(WebDAVLockService.java:111) > > at > org.basex.http.webdav.BXAbstractResource.getCurrentActiveLock(BXAbstractResource.java:284) > > at > org.basex.http.webdav.BXAbstractResource.access$300(BXAbstractResource.java:29) > > at > org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:192) > > at > org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:189) > > at org.basex.http.webdav.BXCode.eval(BXCode.java:37) > > at org.basex.http.webdav.BXCode.evalNoEx(BXCode.java:54) > > at > org.basex.http.webdav.BXAbstractResource.getCurrentLock(BXAbstractResource.java:189) > > at > com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:450) > > at > com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:445) > > at com.bradmcevoy.http.webdav.PropertyMap.getProperty(PropertyMap.java:68) > > at > com.bradmcevoy.http.webdav.WebDavProtocol.getProperty(WebDavProtocol.java:232) > > at > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:140) > > at > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:190) > > at > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.appendResponses(PropFindPropertyBuilder.java:107) > > at > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.buildProperties(PropFindPropertyBuilder.java:86) > > at > com.bradmcevoy.http.webdav.PropFindHandler.processExistingResource(PropFindHandler.java:132) > > at > com.bradmcevoy.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:149) > > at > com.bradmcevoy.http.webdav.PropFindHandler.processResource(PropFindHandler.java:103) > > at > com.bradmcevoy.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:91) > > at > com.bradmcevoy.http.webdav.PropFindHandler.process(PropFindHandler.java:97) > > at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52) > > at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40) > > at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228) > > at org.basex.http.webdav.WebDAVServlet.run(WebDAVServlet.java:23) > > at org.basex.http.BaseXServlet.service(BaseXServlet.java:58) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) > > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) > > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) > > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > > at org.eclipse.jetty.server.Server.handle(Server.java:370) > > at > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) > > at > org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) > > at > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) > > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) > > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) > > at > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > > at java.lang.Thread.run(Thread.java:744) > > On Thu, Oct 23, 2014 at 5:53 AM, Christian Grün <christian.gruen at gmail.com > > wrote: > >> Hi France, >> >> > The error doesn't always occur, but I'd be surprised if you didn't see >> it >> > after 3 to 5 try. >> >> For testing, I created a database with 500 documents (input appr. 80 >> MB) and another one with 20,000 documents (1 GB). Unfortunately (or >> maybe good for us?), I didn't manage to crash the WebDAV driver, using >> the latest snapshot (I didn't try any earlier version); maybe someone >> does? >> >> Can you find some additional information on the error in the log files >> or on stderr? >> >> Christian >> > > > > -- > France Baril > Architecte documentaire / Documentation architect > france.baril at architextus.com >
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com
FB
France Barilin reply to Christian Grün, 23 Oct 2014, 22:2324 Oct 2014 03:11 #
We've had this error for the last 2 years and the snapshot we have is very stable, so we are resisting the upgrade. Are there reasons to believe that this long standing issue would have been resolved since BaseX 8.0 beta 1e3f811?
Quoted text · Christian Grün · 275 lines
On Thu, Oct 23, 2014 at 1:23 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Are you working with a recent snapshot? > > > On Thu, Oct 23, 2014 at 9:56 PM, France Baril > <france.baril at architextus.com> wrote: > > Attaching a full log... > > > > On Thu, Oct 23, 2014 at 12:52 PM, France Baril > > <france.baril at architextus.com> wrote: > >> > >> Took me 6 searches on a DB with 272 documents to crash. I found a lot of > >> these in the log: > >> > >> java.lang.RuntimeException: Data Access out of bounds: > >> > >> - pre value: 272 > >> > >> - #used blocks: 2 > >> > >> - #total locks: 2 > >> > >> - access: 1 (2 > 1] > >> > >> at org.basex.util.Util.notExpected(Util.java:53) > >> > >> at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:501) > >> > >> at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:187) > >> > >> at org.basex.data.Data.kind(Data.java:284) > >> > >> at org.basex.query.value.node.DBNode$4.next(DBNode.java:335) > >> > >> at org.basex.query.path.IterStep$1.next(IterStep.java:39) > >> > >> at org.basex.query.path.IterStep$1.next(IterStep.java:31) > >> > >> at org.basex.query.path.IterPath$1.next(IterPath.java:69) > >> > >> at org.basex.query.path.IterPath$1.next(IterPath.java:40) > >> > >> at org.basex.query.iter.Iter.value(Iter.java:64) > >> > >> at org.basex.query.expr.ParseExpr.value(ParseExpr.java:70) > >> > >> at org.basex.query.expr.TypeCheck.value(TypeCheck.java:84) > >> > >> at org.basex.query.expr.TypeCheck.iter(TypeCheck.java:79) > >> > >> at org.basex.query.MainModule.iter(MainModule.java:103) > >> > >> at org.basex.query.QueryContext.iter(QueryContext.java:338) > >> > >> at org.basex.query.QueryContext.execute(QueryContext.java:575) > >> > >> at org.basex.query.QueryProcessor.execute(QueryProcessor.java:101) > >> > >> at > >> > org.basex.http.webdav.impl.WebDAVLockService.execute(WebDAVLockService.java:159) > >> > >> at > >> > org.basex.http.webdav.impl.WebDAVLockService.lock(WebDAVLockService.java:111) > >> > >> at > >> > org.basex.http.webdav.BXAbstractResource.getCurrentActiveLock(BXAbstractResource.java:284) > >> > >> at > >> > org.basex.http.webdav.BXAbstractResource.access$300(BXAbstractResource.java:29) > >> > >> at > >> > org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:192) > >> > >> at > >> > org.basex.http.webdav.BXAbstractResource$8.get(BXAbstractResource.java:189) > >> > >> at org.basex.http.webdav.BXCode.eval(BXCode.java:37) > >> > >> at org.basex.http.webdav.BXCode.evalNoEx(BXCode.java:54) > >> > >> at > >> > org.basex.http.webdav.BXAbstractResource.getCurrentLock(BXAbstractResource.java:189) > >> > >> at > >> > com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:450) > >> > >> at > >> > com.bradmcevoy.http.webdav.WebDavProtocol$LockDiscoveryPropertyWriter.getValue(WebDavProtocol.java:445) > >> > >> at > com.bradmcevoy.http.webdav.PropertyMap.getProperty(PropertyMap.java:68) > >> > >> at > >> > com.bradmcevoy.http.webdav.WebDavProtocol.getProperty(WebDavProtocol.java:232) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:140) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.processResource(PropFindPropertyBuilder.java:190) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.appendResponses(PropFindPropertyBuilder.java:107) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindPropertyBuilder.buildProperties(PropFindPropertyBuilder.java:86) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindHandler.processExistingResource(PropFindHandler.java:132) > >> > >> at > >> > com.bradmcevoy.http.ResourceHandlerHelper.processResource(ResourceHandlerHelper.java:149) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindHandler.processResource(PropFindHandler.java:103) > >> > >> at > >> > com.bradmcevoy.http.ResourceHandlerHelper.process(ResourceHandlerHelper.java:91) > >> > >> at > >> > com.bradmcevoy.http.webdav.PropFindHandler.process(PropFindHandler.java:97) > >> > >> at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52) > >> > >> at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40) > >> > >> at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228) > >> > >> at org.basex.http.webdav.WebDAVServlet.run(WebDAVServlet.java:23) > >> > >> at org.basex.http.BaseXServlet.service(BaseXServlet.java:58) > >> > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > >> > >> at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) > >> > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) > >> > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > >> > >> at > >> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > >> > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > >> > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) > >> > >> at > >> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) > >> > >> at > >> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > >> > >> at > >> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) > >> > >> at > >> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > >> > >> at > >> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > >> > >> at org.eclipse.jetty.server.Server.handle(Server.java:370) > >> > >> at > >> > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) > >> > >> at > >> > org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) > >> > >> at > >> > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) > >> > >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) > >> > >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) > >> > >> at > >> > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > >> > >> at > >> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) > >> > >> at > >> > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) > >> > >> at > >> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > >> > >> at > >> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > >> > >> at java.lang.Thread.run(Thread.java:744) > >> > >> > >> On Thu, Oct 23, 2014 at 5:53 AM, Christian Grün > >> <christian.gruen at gmail.com> wrote: > >>> > >>> Hi France, > >>> > >>> > The error doesn't always occur, but I'd be surprised if you didn't > see > >>> > it > >>> > after 3 to 5 try. > >>> > >>> For testing, I created a database with 500 documents (input appr. 80 > >>> MB) and another one with 20,000 documents (1 GB). Unfortunately (or > >>> maybe good for us?), I didn't manage to crash the WebDAV driver, using > >>> the latest snapshot (I didn't try any earlier version); maybe someone > >>> does? > >>> > >>> Can you find some additional information on the error in the log files > >>> or on stderr? > >>> > >>> Christian > >> > >> > >> > >> > >> -- > >> France Baril > >> Architecte documentaire / Documentation architect > >> france.baril at architextus.com > > > > > > > > > > -- > > France Baril > > Architecte documentaire / Documentation architect > > france.baril at architextus.com >
-- France Baril Architecte documentaire / Documentation architect france.baril at architextus.com

⚡Generated with XQuery