[annotator-dev] Annotator store delete fails every other time
Michael Emery
michael.emery at sri.com
Thu Nov 21 22:51:37 UTC 2013
My annotator store delete calls are failing every other time.
The store is implemented in Java (Jersey/jax-rs) over Glassfish.
Using: Annotator 1.2.7, jquery 1.8.3, jquery-ui-1.9.2
The other store calls work great, but every other delete call fails with code 505.
I'm seeing this behavior in both firefox and chrome.
Here's the log from firefox:
[15:41:06.447] DELETE http://localhost:8080/test/rest/annotations/ap.txt/id-ap.txt-17acdf69-dc03-4847-a2fa-060865bf8f36 [HTTP/1.1 200 OK 20ms]
[15:41:06.399] no element found @ http://localhost:8080/test/rest/annotations/ap.txt/id-ap.txt-17acdf69-dc03-4847-a2fa-060865bf8f36:1
[15:41:09.247] DELETE http://localhost:8080/test/rest/annotations/ap.txt/id-ap.txt-081015b0-1f00-425f-a768-5646305d0b24 [HTTP/1.1 505 HTTP Version Not Supported 5ms]
[15:41:09.194] no element found @ http://localhost:8080/test/rest/annotations/ap.txt/id-ap.txt-081015b0-1f00-425f-a768-5646305d0b24:1
[15:41:09.195] API request failed: '505'
When I send the delete calls via curl, I get a 204 every time:
curl -i -X DELETE http://localhost:8080/test/rest/annotations/ap.txt/id-ap.txt-d9dbeee7-d93b-4a76-a706-76860a585cea
HTTP/1.1 204 No Content
X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.0 Java/Oracle Corporation/1.7)
Server: GlassFish Server Open Source Edition 4.0
Date: Thu, 21 Nov 2013 22:11:05 GMT
WTB a clue!
- Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20131121/77dc926a/attachment-0003.html>
More information about the annotator-dev
mailing list