Hi All,
We are trying to set up new ML database on clustered ML server. Due to some
issue we are unable to run extensions, it is giving below error. I can see
REST-api for that server is available
http://host:8002/LATEST/rest-apis
What is it that is missing? Any pointers are appreciated.
Caused by: com.marklogic.client.ResourceNotFoundException: Local message: Could
not read resource at /ext. Server Message: Server (not a REST instance?) did
not respond with an expected REST Error message.
at
com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4297)
at
com.marklogic.client.impl.JerseyServices.getResource(JerseyServices.java:2985)
at
com.marklogic.client.impl.ExtensionLibrariesManagerImpl.list(ExtensionLibrariesManagerImpl.java:68)
at
com.marklogic.client.impl.ExtensionLibrariesManagerImpl.list(ExtensionLibrariesManagerImpl.java:62)
Thanks
From: [email protected]
<[email protected]> On Behalf Of Simón Carbajal
Sent: Saturday, April 28, 2018 6:29 PM
To: MarkLogic Developer Discussion <[email protected]>
Subject: Re: [MarkLogic Dev General] Loading a text doc into the database
Thank you very much Erik!! This worked!
On 27 April 2018 at 17:25, Erik Hennum
<[email protected]<mailto:[email protected]>> wrote:
Hi, Simón:
Does it help if you specify a contentType property of "text/html;
charset=windows-1252"
on the document descriptor when passing in the document?
Hoping that's useful,
Erik Hennum
________________________________________
From:
[email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
on behalf of Simón Carbajal
<[email protected]<mailto:[email protected]>>
Sent: Friday, April 27, 2018 9:58:10 AM
To: [email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] Loading a text doc into the database
Hi,
I'm trying to upload a "text/html" document with the Node.js client API but the
document is encoded as "windows 1252" and not utf-8 as required, this is
causing the following error:
"XDMP-DOCUTF8SEQ: Invalid UTF-8 escape sequence at line 39 -- document is not
UTF-8 encoded"
Is there a way to solve this with Marklogic? or I need to do the conversion
myself in Nodejs?
Thanks in advance!
Simon
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general