My application needs to connect to a webservice to do some task. This thing was working fine when running this application on
Tomcat server. But since i deployed this application on weblogic server 12.1.2.0.0 running on jdk 1.7.0_15, I am getting following error :
<Jun 2, 2014 3:00:57 PM IST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\Oracle\Middleware3\Oracle_Home\user_projects\domains\wl_server\security\DemoIdentity.jks.>
<Jun 2, 2014 3:00:59 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\Oracle\MIDDLE~3\ORACLE~1\wlserver\server\lib\DemoTrust.jks.>
<Jun 2, 2014 3:00:59 PM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\Oracle\MIDDLE~3\ORACLE~1\ORACLE~1\jdk\jre\lib\security\cacerts.>
<Jun 2, 2014 3:01:05 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@197099475[app:com.oracle_codesign_war_2.3.0.0 module:codesign-2.3.0.0 path:null spec-version:3.0]]
Servlet failed with an Exception
javax.xml.ws.WebServiceException: java.io.IOException: Connection closed, EOF detected
at com.sun.xml.ws.transport.http.client.HttpClientTransport.readResponseCodeAndMessage(HttpClientTransport.java:210)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.createResponsePacket(HttpTransportPipe.java:239)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:230)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:143)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:110)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: Connection closed, EOF detected
at weblogic.socket.JSSEFilterImpl.handleUnwrapResults(JSSEFilterImpl.java:637)
at weblogic.socket.JSSEFilterImpl.unwrapAndHandleResults(JSSEFilterImpljava: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)
Truncated. see log file for complete stacktrace
This application did not require any certificate, while connecting to webservice, when running on Tomcat Server. Although it does require certificate when connecting through web browser.
Can anybody tell me why this error is coming and please suggest the remedy for the same.