Strange response from Docker BaseXDBA
Thursday, 29 November 2018 · 3 messages · last reply 7 Dec 2018
HV
Huib Verweij29 Nov 2018 17:29 #
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#53543130 <https://stackoverflow.com/questions/53462688/docker-basex-dba/53543130#53543130>
Regards,
Huib.
CG
Christian Grün6 Dec 2018 13:29 #
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
Quoted text · Huib Verweij · 17 lines
On Thu, Nov 29, 2018 at 5:29 PM Huib Verweij <basex.org at 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#53543130 > > Regards, > > Huib.
MS
Michael Seiferle7 Dec 2018 11:21 #
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#53667345 <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?
Quoted text · Christian Grün · 1 line
> 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.Quoted text · Christian Grün · 8 lines
> 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
Quoted text · Christian Grün · 29 lines
> Am 06.12.2018 um 13:29 schrieb Christian Grün <christian.gruen at 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 at 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#53543130 >> >> Regards, >> >> Huib.
Written for BaseX 9.1. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery