This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ClientAbortException throw at the end of REST request  RSS feed

Posts: 3
Google App Engine Java Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I''ve run into an error that I'm struggling to address. Basically the web application is a REST application that takes data in as a large POST, stores it in a database, and returns the stored data to the user in the response as XML using JAX-RS. This is repeated thousands of times. The data is stored, and the client gets the full response.

Other than the JBoss server logs getting spammed with the following warnings/errors, there are no problems. Both the web application and client do not report errors, and run fine.

It sounds like this error often happens when the client ends the conversation by clicking "back" or canceling a download. Since this conversation is all automated and I'm not sure where the conversation is getting cut abruptly, I don't feel comfortable ignoring this error.

I'm returning XML via JAX-RS using the following call

The client is calling the REST service with Jersey using this code

Very quickly after starting the process I get the following warnings in my JBoss AS7 logs:

the warnings quickly turn to errors and return

Any ideas on how to fix this?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!