Hi,

I have created a connect function (restxq) that:

   - Works perfectly well on my Mac.
   - Returns a *BXCL0001 *when used on the Linux production server.

The function uses:

   -

   *client:connect*(*$app:feedback-server-host*, 1984, *$session-user*, *
   $session-password*)


The only reason I can find is that the production server is deployed
through a servlet. Could this affect the behaviour?

   - The admin:users() function does list the user we are trying to use in
   'connect', so we are assuming that the server is connected and that the
   user does exist.
   - We are using the correct password.
   - We have tried setting up the value of the SERVERHOST option in .basex
   to make sure it matches $app:feedback-server-host, although that didn't
   seem necessary for the mac setup.
   - 1984 is the configured PORT.
   - Could the fact that the production server is using TomCat have an
   impact on the client:connect function?

We are out of things to try. Any clue would be helpful.

Thanks,

France

-- 
France Baril
Architecte documentaire / Documentation architect
[email protected]
(514) 572-0341
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to