-
Dec 17th, 2007, 11:14 AM
#1
Resolving ClientAbortException?
Hi!
I got a lot of the following in my log file:
2007-12-17 17:35:21,640 DEBUG [http-8080-1] FrameworkServlet - Could not complete request
ClientAbortException: java.io.IOException
I want to do some special handling (DB rollback) if that happens.
Is it possible to somehow configure a handler/interceptor/resolver for that?
Thanks in advance,
Marko
PS: I'm using Spring-WS 1.0.2 on Tomcat 5.5.23, Java 1.6.0_03
-
Dec 18th, 2007, 07:26 PM
#2
You could use either AOP, or a custom EndpointExceptionResolver.
-
Dec 19th, 2007, 02:43 AM
#3
Exception Resolver is too early
Thanks for your reply, but an EndpointExceptionResolver just receives Exceptions which are thrown during the execution of an Endpoint.
Writing the response happens after that.
However, the FrameworkServlet does publish a ServletRequestHandledEvent.
Is it somehow possible to receive this?
Thanks again,
Marko
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules