* 고객(업체)명 : 글로비스
* 제품 버전 : JAVA 5.0
* 문의 유형(질문/요청/참조) : 질문
* 내용 :
Oracle DB Link 가 포함된 조회 SQL 을 실행한 후
ResultSet 을 GauceDataSet 에 옮겨 담을때 오류가 발생하는 것 같습니다.
getMetaData(); 를 실행하여 해당 정보에 따라 데이터 셋에 담는 중에 아래와 같이
오류가 발생합니다. 참고로 데이터셋 헤더를 사전에 정의를 해 놓으면 오류가 발생하지 않습니다.
옮겨 담을때 오류가 발생하는 것 같습니다. 원인 및 해결 방안을 가이드 부탁드립니다.
수고하십시요.
E181651 java.net.SocketException: Connection reset by peer: socket
write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at weblogic.utils.io.ChunkedOutputStream.writeTo(ChunkedOutputStream.java:284)
at
weblogic.servlet.internal.ServletOutputStreamImpl.writeHeader(ServletOutputStreamImpl.java:167)
at
weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:444)
at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java:1288)
at
weblogic.servlet.internal.ServletOutputStreamImpl.sendHeaders(ServletOutputStreamImpl.java:281)
at
weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:118)
at com.gauce.io.bin.G.flush(Unknown Source)
at
com.hist.haf.db.gauce.GauceDataBaseUtil.moveToGauceDataSet(GauceDataBaseUtil.java:391)
at cmn.cmnQuery.selectResultSet(cmnQuery.java:82)
at
P.RSUM.control.PRSUM_BIZ.Set_OutSourcing_Operation_Search(PRSUM_BIZ.java:9355)
at P.RSUM.proxy.PRSUM_pxy.Set_OutSourcing_Operation_Search(PRSUM_pxy.java:1339)
at P.RSUM.service.PRSUM_cmd.execute(PRSUM_cmd.java:379)
at P.RSUM.service.PRSUM_svl.catchService(PRSUM_svl.java:83)
at com.servlet.DGauceServlet.doPost(DGauceServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.gauce.filter.GauceFilter.doFilter(Unknown Source)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
2014 11월 13
18:16:51ERROR [ACTIVE] ExecuteThread: '4' for queue:
'weblogic.kernel.Default (self-tuning)'
weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
cmn.cmnQuery.selectResultSet()=>
java.net.SocketException: Connection reset by peer: socket write error
|
해당 에러 메시지는
- java.net.SocketException: Connection reset by peer: socket write error
원인: write 시 상대방 socket close 된 경우
아래 URL을 참고해주세요.
http://www.jaso.co.kr/181
감사합니다.