Basex 404
Monday, 16 June 2014 · 2 messages
LJ
Lars Johnsen16 Jun 2014 15:00 #
I've recently run into a problem with basexserver/basexhttp. The host:8984 responds but seems to have lost contact with the webapp directory. Here is what is happening on 3 out of 5 installations (on linux - installed by unpacking the latest ziparchive), where one used to work as expected:
1) host:8984 do not display the restxq example, but is up and running
2) host:8984/rest shows the list of databases
3) host:8984/rest/run=script-name.xq gives 404 - no function matches request
So the server appears to be connected to the database, but won't look at the webapp directory. Where is the best place to look for information?
All the best,
Lars
CG
Christian Grün16 Jun 2014 15:06 #
Hi Lars,
could it be that the webapp directory was renamed or moved while the server was running? Otherwise, I have no idea how this could happen (it didn't happen in our Linux instances so far).
Christian
Quoted text · Lars Johnsen · 18 lines
On Mon, Jun 16, 2014 at 3:00 PM, Lars Johnsen <yoonsen at gmail.com> wrote: > > I've recently run into a problem with basexserver/basexhttp. The host:8984 > responds but seems to have lost contact with the webapp directory. Here is > what is happening on 3 out of 5 installations (on linux - installed by > unpacking the latest ziparchive), where one used to work as expected: > > 1) host:8984 do not display the restxq example, but is up and running > 2) host:8984/rest shows the list of databases > 3) host:8984/rest/run=script-name.xq gives 404 - no function matches > request > > So the server appears to be connected to the database, but won't look at the > webapp directory. Where is the best place to look for information? > > All the best, > Lars >
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery