[basex-talk] OverlappingFileLockException error for BaseX version 9.2.4

2020-07-02 Thread Pham Huu Bang
Hello, I have a Java web application which relies on BaseX library to mostly read XML files (they are quite big, e.g: 20 MB per file) by XQuery. The XQuery is also quite complicated. It takes ~3 seconds to query. Configuration file .basex: https://pastebin.com/3EH7MJi5 I got the error below when

Re: [basex-talk] How to set DBPath in BaseX version 8.6.7 as in version 7.3.1?

2018-01-05 Thread Pham Huu, Bang
I've found the answer for it from this page http://docs.basex.org/wiki/Options so for the java code in version 8.6.7, it needs to use System.setProperty("org.basex.dbpath", "/home/xxx/test_basex/"); to set this global path and then, BaseX will read/create collection to this dbpath correctly.