[JEUS] Connection reset by peer 오류 해결
[현상]
* 속성조회 시 축척이 1000미만인 경우에는 문제 없었으나 2000부터는 아래와 같은 오류 발생.
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
[원인]
"ClientAbortException: java.net.SocketException"으로 구글링 결과 아래 내용 발견
Usually, this kind of behaviour occurs when one of the following happens
1.When user make a request, and suddenly browser get closed by user accidentally or due to browser crash
2.When user make a request, and browser closes the http connection automatically due to exceeded content length size
3.When user make a request, and presses the stop button
1.번은 아니라고 하니 2.번일 가능성이 큼.
[해결방안]
1. response.setHeader("Content-Lenght",2048);
2. 제우스 설정파일 수정
WEBMain.xml
<webtob-listener>
...
<output-buffer-size>2048</output-buffer-size> //단위는 byte
...
</webtob-listener>
output-buffer-size 값 조정
("0"으로 설정하면 모든 데이터를 힙메모리에 저장해둔 다음 처리 한다고함)
'IT > WAS' 카테고리의 다른 글
[JEUS] container xxxx initialization failed by error stream closing (0) | 2012.11.29 |
---|---|
[JEUS]제우스 한글 깨질 때 (0) | 2012.11.28 |
[JEUS] 제우스 웹투비 세팅 및 연동 방법 1 (0) | 2012.06.26 |
[JEUS] 주요 오류의 원인 및 해결방법 (0) | 2012.06.26 |
[JEUS] 주요 명령어 (0) | 2012.06.26 |