Hi,
I am hitting the same issue: When I pass set dbpath command on server start, it seems that the server sets the new value, but is partially ignoring it. Logs are created in new directory, however data are stored in default directory (~/BaseXData/). It is causing problems, because I cannot run 2 BaseXServer instances over the same directory.
How to replicate: String serverPath = "SOME_PATH"; StringBuffer commands = new StringBuffer(); commands.append("-cset dbpath ").append(serverPath).append(";info"); new BaseXServer("-d", "-D", "-s", commands.toString());
Environment: BaseX 6.7.1
regards, Igor Farinic
Dear Igor,
regarding your recent problem: has it been fixed with the latest update?
When I pass set dbpath command on server start, it seems that the server sets the new value, but is partially ignoring it. [...]
I'm sorry, I didn't manage to reproduce this problem (on my computer, the database was created in the same directory as the log files). You may want to try the latest version here as well, or give us a more elaborate example that allows us to reproduce the issue.
Looking forward to your feedback, Christian
Hi,
in BaseX 6.7.2 Beta the issue with -c"SET DBPATH..." is fixed.
I am looking forward to new stable version ;)
Thanks, Igor Farinic
On 08/10/2011 09:04 AM, Igor Farinic wrote:
Hi,
I am hitting the same issue: When I pass set dbpath command on server start, it seems that the server sets the new value, but is partially ignoring it. Logs are created in new directory, however data are stored in default directory (~/BaseXData/). It is causing problems, because I cannot run 2 BaseXServer instances over the same directory.
How to replicate: String serverPath = "SOME_PATH"; StringBuffer commands = new StringBuffer(); commands.append("-cset dbpath ").append(serverPath).append(";info"); new BaseXServer("-d", "-D", "-s", commands.toString());
Environment: BaseX 6.7.1
regards, Igor Farinic _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de