1. WAS 버전 : WAS v7.0 이상
2. OS : All
3. Error 발생 시점 : 재시작에 따라 간헐적으로 WebSphere 와 Struts 2 를 연계 사용시 404 error 발생
(com.ibm.ws.webcontainer.invokeFiltersCompatibility=true 옵션을 주어도 동일 error)
4. Error message :
Error 404: SRVE0190E: File not found: /xxx.action
5. 예상 이유 :
filter 가 application 과 함께 초기화 되지 않고 first access 될 때 초기화 되면서 몇몇 plugin 들이 deloy 될때 순서상 문제를 일으킴
6. 조치 방안 :
Web Application 이 시작되면서 초기화 될때 Servlet 과 함께 filter 도 먼저 initialization 되도록
Application servers > Your server > Web Container > Custom Properties 관리 화면에서
하단의 custom property 추가
com.ibm.ws.webcontainer.initFilterBeforeInitServlet = true
com.ibm.ws.webcontainer.invokeFilterInitAtStartup = true
http://www.liferay.com/community/wiki/-/wiki/Main/WebSphere+8+tips/maximized
http://www-01.ibm.com/support/docview.wss?uid=swg1PM62909
IBM - old/WAS 문제&해결
댓글