Hi,
I have a strange case of receiving a “No function found that matches the request” message from BaseXDBA.
I did a "docker build -t basexdba ." in de root of the source folder of BaseX as per the DBA example in http://docs.basex.org/wiki/Docker http://docs.basex.org/wiki/Docker.
I got a basexdba:latest image and started it with “docker run -p 8984:8984 basexdba:latest”.
According to the documentation I should get the dba page with: http://localhost:8984/dba http://localhost:8984/dba but the server returns "No function found that matches the request.".
There’s also a recent question on Stackoverflow about this: https://stackoverflow.com/questions/53462688/docker-basex-dba/53543130#53543... https://stackoverflow.com/questions/53462688/docker-basex-dba/53543130#53543130
Regards,
Huib.
Hi Huib,
I’ve never tried our docker images, but as far as I know, the last DBA docker images are based on 8.5.4. Are you still working with BaseX 8?
Best, Christian
On Thu, Nov 29, 2018 at 5:29 PM Huib Verweij basex.org@x-scale.nl wrote:
Hi,
I have a strange case of receiving a “No function found that matches the request” message from BaseXDBA.
I did a "docker build -t basexdba ." in de root of the source folder of BaseX as per the DBA example in http://docs.basex.org/wiki/Docker.
I got a basexdba:latest image and started it with “docker run -p 8984:8984 basexdba:latest”.
According to the documentation I should get the dba page with: http://localhost:8984/dba but the server returns "No function found that matches the request.".
There’s also a recent question on Stackoverflow about this: https://stackoverflow.com/questions/53462688/docker-basex-dba/53543130#53543...
Regards,
Huib.
Hi Huib,
Thanks for the pointer to stackoverflow, I missed that one! I added an answer over there: https://stackoverflow.com/questions/53462688/docker-basex-dba/53667345#53667... https://stackoverflow.com/questions/53462688/docker-basex-dba/53667345#53667345 — his problem somehow unrelated to your problem as the question refers to an older DBA version.
However the solution presented there should work well. The docker build in our root folder will not add the DBA, so that’s most probably the issue?
I did a "docker build -t basexdba ." in de root of the source folder of BaseX as per the DBA example in http://docs.basex.org/wiki/Docker.
You may validate if the dba folder is present in your running container via `docker exec $CONTAINER-ID` — you can find the container id using `docker ps`:
Below I have to containers, one contains the dba folder, the other does not.
michael@mbp:~/tmp|⇒ docker exec 99f650b42036 ls '/srv/basex/webapp'
WEB-INF
michael@mbp:~/tmp|⇒ docker exec 3a4eb9927c90 ls '/srv/basex/webapp'
WEB-INF chat dba restxq.xqm static
Hope this helps! Let me know if I can shed some more light on this issue!
Best Michael
Am 06.12.2018 um 13:29 schrieb Christian Grün christian.gruen@gmail.com:
Hi Huib,
I’ve never tried our docker images, but as far as I know, the last DBA docker images are based on 8.5.4. Are you still working with BaseX 8?
Best, Christian
On Thu, Nov 29, 2018 at 5:29 PM Huib Verweij basex.org@x-scale.nl wrote:
Hi,
I have a strange case of receiving a “No function found that matches the request” message from BaseXDBA.
I did a "docker build -t basexdba ." in de root of the source folder of BaseX as per the DBA example in http://docs.basex.org/wiki/Docker.
I got a basexdba:latest image and started it with “docker run -p 8984:8984 basexdba:latest”.
According to the documentation I should get the dba page with: http://localhost:8984/dba but the server returns "No function found that matches the request.".
There’s also a recent question on Stackoverflow about this: https://stackoverflow.com/questions/53462688/docker-basex-dba/53543130#53543...
Regards,
Huib.
basex-talk@mailman.uni-konstanz.de