INFO and dp:system() show different values

Monday, 29 January 2018 · 2 messages
LJ
Lars Johnsen29 Jan 2018 14:57 #
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
CG
Christian Grün29 Jan 2018 16:05 #
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
Quoted text · Lars Johnsen · 21 lines
On Mon, Jan 29, 2018 at 2:57 PM, Lars Johnsen <yoonsen at 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 >

⚡Generated with XQuery