Hi, we are trying to move from a single author environment to a multiple authors environment. The team doing the configuration is having some issues.
Here is their question… can you provide some guidance?
---
What is the proper BaseX configuration to allow multiple users to concurrently update a database from Oxygen?
Environment:
- BaseX latest (August build) - Windows 7 server and clients - basexhttp.bat starting db as admin, admin - Users A and B with "write" permissions - Users open webdav folder in Oxygen 14 using unique usernames and passwords - Oxygen is configured to "Lock WebDAV files on open"
Issues
- Webdav in Oxygen project does not prevent users from changing files that are currently open by other users, nor does Oxygen indicates when other users have opened or changed files. Users need to close and re-open files to see changes made by other others, with no way of preventing other users from overwriting their changes.
Questions
1. According to http://docs.basex.org/wiki/Startup#BaseX_Server the basexserver script should also start the http server, but according to the log is does not. Do we need to run both basexserver and basexhttp? Is there any difference between starting Server from basexhttp and starting Server from basexserver? It appears that basexhttp starts both the http and BaseX servers, which is the opposite behavior described by the documentation. 2. Should file locking work in Oxygen using WebDAV?
Everything works fine with one user working with localhost, as described at http://docs.basex.org/wiki/Integrating_oXygen#Access_Database_Resources, but we are unable to find a configuration that supports file locking with multiple users accessing a remote server over webdav. Would an example configuration be available?