Hi, Pooja:

>From the error message, I'm guessing the application is calling 
>ExtensionLibrariesManager.list()

That method doesn't take any parameters.  So, the only input from the 
application consists 
of the connection parameters.

Is it possible that the application is connecting to a port that hasn't been 
created as 
a Client REST API server?  (Port 8002 is the builtin Management REST API 
server.)

Alternatively, is it possible there is a mismatch between the client API 
version and the 
server version?


Erik Hennum

________________________________________
From: general-boun...@developer.marklogic.com 
<general-boun...@developer.marklogic.com> on behalf of Pooja Rajput 
<pooja.raj...@healthbi.com>
Sent: Tuesday, May 1, 2018 12:03 AM
To: MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Extension installation not working on 
marklogic cluster

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
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to