aspose file tools*
The moose likes Web Services and the fly likes ClientAbortException throw at the end of REST request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "ClientAbortException throw at the end of REST request " Watch "ClientAbortException throw at the end of REST request " New topic
Author

ClientAbortException throw at the end of REST request

Daniel Spiess
Greenhorn

Joined: Sep 04, 2012
Posts: 1
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?
 
Don't get me started about those stupid light bulbs.
 
subject: ClientAbortException throw at the end of REST request