IBM - old/WAS 문제&해결
Apache Axis2 runtime 을 포함하는 어플리케이션을 deploy 시에 ClassCastException 발생
freeman98
2016. 5. 9. 10:06
1. WAS 버전 : WebSphere ND 6.1 + Web Services FP
2. OS : All
3. Error 발생 시점 : Apache Axis2 runtime 을 포함하는 어플리케이션을 deploy 시에 ClassCastException 발생
4. Error message :
java.lang.ClassCastException: xxx.xxx.xxx.xxxx
5. 예상 이유 :
Web Services FP 에 이미 Axis2 runtime 이 포함되어 있습니다. 따라서 어플리케이션에 Axis2 runtime 을 포함하게 되면
Web Services FP 이 가지고 있는 모듈과 충돌이 발생하게 되고 ClassCastExcception 이 발생하게 됩니다.
6. 조치 방안 :
어플리케이션이 가지고 있는 고유한 Axis2 runtime 을 참조할 수 있도록 application class loader 를 먼저 참조하도록
class loader 정책을 변경하면 됩니다.
http://www-01.ibm.com/support/docview.wss?uid=swg21264548