For a brief moment, I thought I would have to immediately upgrade - it must have been a struts 2 bug. This may be the case but it was worked around. Unfortunately, I did not have time to fully debug into struts to determine the true root cause. The items that in some combination got things working again included:
- Implement Action interface - we had implementations of the execute method with the correct signature but not as part of the Action interface.
- Replace use of the old/deprecated filter with the use of the newer filter org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
- Wrap some code in try/catch and do some defensive coding to prevent null reference access
- Use some API calls in a more consistent fashion so that sessions are created under more controlled circumstances.
No comments:
Post a Comment