Ok.
This is not very good news for us. Do you think it is big deal to modify Restxq in order to support client mode? If no, I may try to patch the code if I have a clue where to start looking at. Which code area shall investigate? (So far, I never put my hands into Basex code)
Thanks, Gilles.
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: lundi 21 mai 2012 12:44 To: Gilles CARRY Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] http server and client mode
Hi Gilles,
yes, the reason is in fact the "client" mode, which is not supported by RESTXQ, but which will still connect to the server because of WebDAV and REST. In a nutshell: if you use RESTXQ, you should (at least for the moment) use the default or local mode.
Christian ___________________________
On Mon, May 21, 2012 at 9:56 AM, Gilles CARRY gilles.carry@st.com wrote:
Hi Christian,
The http server (10.129.63.247) is run in a Tomcat framework. The DB instance is on a distant server (10.129.63.129). I set the "client" mode and host address in WEB-INF/web.xml. It seems to
reach the server as I get the below mentioned logs.
However, db:list() returns an empty string and db:open('logs') fails. db:system() does not show anything about the client mode wherease the
host address is properly set.
I'm not sure this is clear enough for you. Tell me if you need more.
Thanks, BR, Gilles.
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: vendredi 18 mai 2012 16:52 To: Gilles CARRY Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] http server and client mode
Hi Gilles,
Though, whenever httpserver (via restxq) tries to reach the DB, the distant
server log shows these lines:
17:00:10.384 [10.129.63.247:45084] LOGIN log OK 17:00:11.623 [10.129.63.247:45084] LOGOUT log OK
I couldn't reprouce this issue; how do you communicate with the BaseX server? Christian