Announcement Announcement Module
Collapse
No announcement yet.
Resolving ClientAbortException? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    You could use either AOP, or a custom EndpointExceptionResolver.

    Comment


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

      Comment

      Working...
      X