Results 1 to 3 of 3

Thread: Resolving ClientAbortException?

  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Default 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

  2. #2
    Join Date
    Jul 2005
    Location
    Rotterdam, the Netherlands
    Posts
    1,562

    Default

    You could use either AOP, or a custom EndpointExceptionResolver.
    Arjen Poutsma

    Spring Web Services Dev Lead
    Please read the FAQ

  3. #3
    Join Date
    Dec 2007
    Posts
    2

    Default 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
  •