Page 1 of 1

XQuery on XDBC MarkLogic server

Posted: Mon May 07, 2012 11:09 am
by aloha
Hi.
I am trying to execute XQuery on XDBC server, but it is not running
I've created the HTTP server and same XQuery trying to execute on HTTP server but it is running fine on HTTP server, what's wrong with XDBC server.
Is there any different process to execute XQurey on XDBC server?
Any suggestions ?

Re: XQuery on XDBC MarkLogic server

Posted: Mon May 07, 2012 12:57 pm
by adrian
Hello,

I'm not sure if you are running the query on the XDBC server by using Oxygen or are you using some other means.
Note that Oxygen only supports running queries on XDBC app servers. It does not support HTTP app servers for executing XQuery.
First, make sure that the app server (ML server management) and connection (in Oxygen) are correctly configured, specifically the hostname/IP and port. On the server side make sure the correct database name is selected for the database and modules.

Test with a simple query: 1+1

Regards,
Adrian