tgreenwood commented on issue #2488:
URL: https://github.com/apache/jena/issues/2488#issuecomment-2124809905

   Hi @afs ,
   many thanks for quick reply. My bad, I shared not full config, I missed also 
.addFilter() method adding custom endpoints which, as turned out, was the root 
cause of the problem. 
   
   It is still strange to me as it works just fine if I add a pretty simple 
filter which just pass the request. But with the production used filters it 
does not work. In the production code we pass the a group of endpoints 
implemented via javaspark framework, and the issue emerges in exception 
handling.  I added there a logic to skip the endpoint for SPARQL query and it 
works just fine. The thing I am still confused about is that we did't change 
the version of JavaSpark, the issue is reproduced  only when I upgrade Jena 
version. I guess that something has changed in Jetty, like filters priority or 
something like that. Any ideas?
   
   Off-topic (let me know if I should raise a separate question for that): we 
are using DatasetGraphMonitor in our app having a lot of logic to perform 
post-actions within transaction. It's being removed, what should be used 
instead?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to