본문 바로가기

전체 글276

하나의 WAS 안의 다른 EAR 간 Workarea service remote call 시 ClassCastException 발생 1. WAS 버전 : WAS ND 2. OS : All 3. Error 발생 시점 : 하나의 WAS 안의 같은 EAR 내에서의 Workarea service remote call 에는 문제가 없는데 하나의 WAS 안의 다른 EAR 간 Workarea service call 시 ClassCastException 발생 4. Error message : [13. 5. 20 13:48:19:345 KST] 00000045 SystemOut O Caused by: java.rmi.RemoteException: ; nested exception is: java.lang.ClassCastException: xxx.requestcontext.HeaderRequestContextData incompatible with .. 2016. 5. 30.
/config 폴더와 /installedApps 폴더의 web.xml 파일을 직접 수정(예: servlet filter 추가) 하고 재시작 했는데 변경사항이 반영되지 않음 1. WAS 버전 : IBM WAS v7.0 이상 2. OS : All 3. Error 발생 시점 : hot deploy 형태로 /config 폴더와 /installedApps 폴더의 web.xml 파일을 직접 수정(예: servlet filter 추가) 하고 재시작 했는데 변경사항이 반영되지 않음 4. Error message : 5. 예상 이유 : IBM WAS v7.0 부터는 annotation 에 연관된 class 는 실제로 애플리케이션을 WAS 에 배포할 때 미리 인식이 되어 배포하면서 ibm-metadata.xml 파일과 web_merged.xml 이라는 파일을 생성합니다. ibm-metadata.xml 샘플 web_merged.xml 은 web.xml 과 거의 동일 그런데 이때 annotat.. 2016. 5. 30.
IBM WAS v8.5 와 Eclipse 연동 후에 서버 시작시 IBM Assembly and Deploy Tools 관련 Error 발생 1. WAS 버전 : IBM WAS v8.5 2. OS : All 3. Error 발생 시점 : IBM WAS v8.5 와 Eclipse 연동 후에 서버를 시작하면 IBM Assembly and Deploy Tools 관련 Error 발생 4. Error message : IBM Assembly and Deploy Tools for WebSphere Administration does not support Run server with resources within the workspace publishing option. You need to switch the publishing option to Run server with resources on server. 5. 예상 이유 : 무료로 제공되는 ec.. 2016. 5. 30.
addNode 수행시에 large application 에 의한 OOM 발생 1. WAS 버전 : WAS ND v8.5 2. OS : All 3. Error 발생 시점 : addNode 수행시에 large application 에 의한 OOM 발생 4. Error message : OutofMemory Exception 과 함께 Javacore, Heapdump 가 bin 디렉토리에 생성 5. 예상 이유 : addNode 수행시에 Large application 에 대한 동기화 작업이 이루어지며 이때 기본 128M 가 Max 인데 이를 넘어가면서 OOM 발생 6. 조치 방안 : AppServer/bin 디렉토리의 addNode 스크립트를 Edit 로 열어서 하단의 부분의 Max Heap Size 값을 보다 큰 값으로 설정 set MAX_HEAP_SIZE=-Xmx128m 2016. 5. 30.
native library 사용을 위한 LIBPATH 나 java.library.path 설정이 잘 안먹는 경우 1. WAS 버전 : IBM WAS All 2. OS : AIX 3. Error 발생 시점 : OS 변수로 native library 사용을 위한 LIBPATH 나 java.library.path 설정을 했는데 library 를 로드하지 못하고 Exception 발생 4. Error message : [11/12/12 17:56:14:191 CST] 00000094 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /XXXX.jsp: com.ibm.webspher e.servlet.error.ServletErrorReport: java.lang.Un.. 2016. 5. 30.
Ajax post 방식을 사용하고 있는데 Content-Length 에 비해 보다 작은 body 가 들어오거나 body 가 잘못 들어오는 경우 1. WAS 버전 : IBM WAS All 2. OS : All 3. Error 발생 시점 : request 의 body 가 firewall 등에 의해서 잘리거나 잘못들어온 경우 or Ajax post 방식을 사용하고 있는데 Content-Length 에 비해 보다 작은 body 가 들어오거나 body 가 0 인 경우 IHS 의 Timeout 값인 300 초를 기다린 후에 IO 관련 Timeout 발생 4. Error message : SRVE0133E: An error occurred while parsing parameters. java.io.IOException: post body contains less bytes than specified by content-length at com.ibm.ws.. 2016. 5. 30.