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