BaseXServer.bat not respecting the -c"SET DBPATH ..." option?

Wednesday, 10 August 2011 · 3 messages · last reply 15 Aug 2011
IF
Igor Farinic10 Aug 2011 09:04 #
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
CG
Christian Grün10 Aug 2011 17:06 #
Dear Igor, regarding your recent problem: has it been fixed with the latest update?
Quoted text · Igor Farinic · 2 lines
> 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
IF
Igor Farinicin reply to Igor Farinic, 10 Aug 2011, 09:0415 Aug 2011 13:14 #
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
Quoted text · Igor Farinic · 25 lines
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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery