Mar 15th, 2012, 11:20 AM
Exception handling in Spring webflow
Currently we are using Spring webflow in our application and the exception handling is basically done using Spring MVC handler (HandlerExceptionResolver).
The problem is, if in case we want to log the 'view-state name' or 'handler (webflow action name)' from which the error has occurred is not possible because the exception handler is in Spring MVC. Even in case if we use the 'handler.getClass()' to log the action name, it is giving the entry point of the webflow which is 'FlowController' and not giving an idea from which webflow action the problem is happening.
Because, in our application we are seeing quite a number of 'LockTimeoutException: Unable to acquire conversation lock after 30 seconds', and we want to get a pattern of this error occurrence. Any advice is highly appreciated. Thanks.