Hi Kristian,
I wonder though what would be a straightforward way to use relative paths instead, since not all users can afford knowing the absolute paths. Do you have any pointers on this?
In our ZIP distribution and with Jetty, the DBA code runs out of the box. Could you please give us more hints what you needed to do to get DBA running in your environment?
Tänan, Christian
30.04.2015 11:47, Christian Grün kirjutas:
Hi Kristian,
My problem is that the Tomcat is available only through HTTP and I wouldn't like to open up the function for the outside world using RESTXQ. Is there a way to "talk" with the BaseX in the Tomcat?
Have you already thought about adding the DBA interface [1]? It might be extended with new functionality to store and invoke server-side code, and you can already use it to run arbitrary XQuery expressions.
Another choice is our classical REST interface, which can also be used to run server-side queries or command scripts.
Just remember that these interfaces can potentially be accessed by other people as well, even those who are not supposed to access it, so you should e.g. change the default admin password, etc.
Best, Christian
[1] http://docs.basex.org/wiki/DBA
I have full access to the
machine via SSH. Another way I thought of would be to just upload the data folder from my local setup, but it doesn't feel the right way to do it.
Best regards Kristian K