1
내가이 HTTPS URL (부두 서버)에 ADFS SSO 사용 가능 웹 로직 서버에서 일부 JSON 데이터를 게시 할하지만 난 조각연결 EOF가
에게 아래의 예외 아래java.io.IOException: Connection closed, EOF detected
at weblogic.socket.JSSEFilterImpl.handleUnwrapResults(JSSEFilterImpl.java:637)
at weblogic.socket.JSSEFilterImpl.unwrapAndHandleResults(JSSEFilterImpl.java:515)
at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:96)
at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:75)
at weblogic.socket.JSSEFilterImpl.write(JSSEFilterImpl.java:448)
at weblogic.socket.JSSESocket$JSSEOutputStream.write(JSSESocket.java:93)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:140)
at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:192)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:433)
at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
입니다 얻고 감지, 폐쇄
이
URL urlObject = new URL(url);
HttpURLConnection httpConnection = (HttpURLConnection) urlObject.openConnection();
httpConnection.setRequestMethod("POST");
httpConnection.setDoOutput(true);
httpConnection.setDoInput(true);
httpConnection.addRequestProperty("Content-Type", "application/xml");
OutputStreamWriter writer = new OutputStreamWriter(httpConnection.getOutputStream());
writer.write(paramJSON.toString());
writer.flush();
String line;
StringBuffer buffer = new StringBuffer();
BufferedReader reader = new BufferedReader(new InputStreamReader(httpConnection.getInputStream()));
while ((line = reader.readLine()) != null)
{
buffer.append(line);
}
writer.close();
reader.close();
int status = httpConnection.getResponseCode();
httpConnection.disconnect();
는 HTTP URL 즉, SSL없이 우리가 웹 로직 서버를 사용하는 경우
서버 로그에서 오류를 검색합니다. – SJuan76