Dec 17th, 2007, 11:14 AM
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
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,
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
You could use either AOP, or a custom EndpointExceptionResolver.
Dec 19th, 2007, 02:43 AM
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?