Closed AlexTo closed 5 years ago
Hello, you need a release of marklogic-jena that has an upgraded java client. I'll raise this issue and see about cutting a release as soon as is convenient. Feel free to ping back if you don't hear a reply.
Your connection method should be good. It's intended to be a long-lived object.
Thanks a lot for a quick update, I look forwards to the next release. Regards
Any update on release? Having similar problem with similar setup. But instead of fail I see:
o.OkHttpClient : previous digest authentication with same nonce failed, returning null o.OkHttpClient : Cached authentication expired. Sending a new request.
if you can't wait for MarkLogic to release the new version, simply clone the Git and update this file
https://github.com/marklogic/marklogic-jena/blob/master/marklogic-jena/build.gradle
I no longer have errors after bumping marklogic-client-api to latest version
Thanks for reply!
Hi, I am using
marklogic-jena:3.0.5
with Spring BootMy Spring service looks like this
If I use Postman to post to my Controller which then calls my Service, it works fine. However, when I deploy in the test environment with higher load, then I have the below error message. It seems to be related to this issue java-client-api-#770 but according to the status, the issue has been fixed. :(
Btw, how do I properly create and close the connection? Do I create and close inside the insert() method or should I create the connection in the service constructor like what I am doing now?
Thanks