[oXygen-user] Locating modules for MarkLogic on app server
Sorin Ristache
Thu Nov 19 11:21:53 CST 2009
Oxygen communicates with an XDBC server. The server port that is set for
the Oxygen connection must be displayed in the list of servers in the
Web administration interface of MarkLogic. In the MarkLogic Web
interface the module directory root location should be displayed in the
details of that server. Make sure the module exists in that location on
the server.
Regards,
Sorin
Lee, David wrote:
> Which server is it using ?
> Would this be the root of the XDBC Server ?
> My problem is that this file is stored in the App server root ... but
> maybe if I copied it to the XDBC server it might work ?
>
>
> -----Original Message-----
> From:
> [mailto:] On Behalf Of Sorin Ristache
> Sent: Thursday, November 19, 2009 10:19 AM
> To:
> Subject: Re: [oXygen-user] Locating modules for MarkLogic on app server
>
> Hello,
>
> The MarkLogic server should resolve the path "common.xquery" relative to
>
> the root location of the server that listens on the port that was set
> for the MarkLogic connection in Preferences -> Data Sources. In the
> configuration of the server on the server machine look for the module
> directory root and the database that contains application modules.
>
>
> Regards,
> Sorin
>
>
> Lee, David wrote:
>>
>> I have an XQuery file running on MarkLogic which includes a module.
>>
>> import module namespace common =
>> "http://schemas.epocrates.com/schemas/marklogic/common"
>> at "common.xquery" ;
>>
>>
>>
>> When I run this using ML's App Server it locates this module in the
> same
>> directory as the master file.
>>
>> But when I try to run the xquery from within Oxygen it cant find the
>> module.
>>
>> Is there a way to tell Oxygen to somehow tell marklogic where this
>> common module resides so it would behave the same as if it were
> executed
>> from the App server ?
More information about the oXygen-user
mailing list