Dear France,
could you additionally tell us what error message is attached to the error code?
> Works perfectly well on my Mac.
> Returns a BXCL0001 when used on the Linux production server.
> The only reason I can find is that the production server is deployed through
> a servlet. Could this affect the behaviour?
> Could the fact that the production server is using TomCat have an impact onAs your code seems to work on your Mac, I indeed assume it has to do
> the client:connect function?
with the servlet configuration. You could try to add the following
snippet to the web.xml configuration file:
<context-param>
<param-name>org.basex.debug</param-name>
<param-value>true</param-value>
</context-param>
This way, some additional debugging information such as Java stack
traces will be output to STDERR, which you could send us as well (this
information may e. g. end up on command line or in logs/catalina.out,
depending on your Tomcat configuration).
Hope this helps?
Christian