Hi, Pooja:
It's strange that one REST API appserver is working but another one isn't.
How did you create the faulty appserver? Did you use the usual request:
http://docs.marklogic.com/REST/POST/v1/rest-apis
Is it possible the configuration of the appserver was changed after creation?
Erik Hennum
________________________________________
From: [email protected]
<[email protected]> on behalf of Pooja Rajput
<[email protected]>
Sent: Tuesday, May 1, 2018 9:45:53 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Extension installation not working on
marklogic cluster
Hi,
For the port we are trying to connect we can see the rest api on this link:
http://host:8002/LATEST/rest-apis
Also, we have another database on different port on same cluster which works
well. This one is newly created. Hence doesn't seems like it is different api
version.
Thanks
Pooja
The information contained in this transmission may contain privileged and
confidential information, including patient information protected by federal
and state privacy laws. It is intended only for the use of the person(s) named
above. If you are not the intended recipient, you are hereby notified that any
review, dissemination, distribution, or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact the
sender by reply email and destroy the original message.
-----Original Message-----
From: [email protected]
<[email protected]> On Behalf Of Erik Hennum
Sent: Tuesday, May 1, 2018 9:01 AM
To: MarkLogic Developer Discussion <[email protected]>
Subject: Re: [MarkLogic Dev General] Extension installation not working on
marklogic cluster
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: [email protected]
<[email protected]> on behalf of Pooja Rajput
<[email protected]>
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
[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
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general