INFO and dp:system() show different values
Hi all when restarting a http-server, the script for accessing no longer finds the databases using db:open(). The path to the database using INFO in command line basex says one thing, while output from db:system() is different db:system() .../basex-webapp/webapp/WEB-INF/data INFO: .../basex-webapp/data The folder /webapp is where the scripts are. There is only one file .basex which contain the same as shown with INFO, which resides under folder /basex-webapp. Any thoughts? Best Lars
Hi Lars, Do you invoke basexhttp, and the BaseX instance that you use for calling the INFO command, from the same directory? How do you call INFO? Cheers, Christian On Mon, Jan 29, 2018 at 2:57 PM, Lars Johnsen <yoonsen@gmail.com> wrote:
Hi all
when restarting a http-server, the script for accessing no longer finds the databases using db:open().
The path to the database using INFO in command line basex says one thing, while output from db:system() is different
db:system() .../basex-webapp/webapp/WEB-INF/data INFO: .../basex-webapp/data
The folder /webapp is where the scripts are. There is only one file .basex which contain the same as shown with INFO, which resides under folder /basex-webapp.
Any thoughts?
Best Lars
participants (2)
-
Christian Grün -
Lars Johnsen