users@glassfish.java.net

java.net.socketException : Connection reset

From: <glassfish_at_javadesktop.org>
Date: Fri, 07 Aug 2009 13:26:32 PDT

Hi,
  I have deployed a web application on glassfish V3 preview. I have enabled 8181 port for SSL. Imported server-cert ina keystore and pointed to it in domain.xml. But when i try to access the web app,

It gives the exception stacktrace :
   [java] java.net.SocketException: Connection reset
     [java] at java.net.SocketInputStream.read(SocketInputStream.java:168)
     [java] at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
     [java] at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
     [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
     [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746)
     [java] at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
     [java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
     [java] at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
     [java] at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
     [java] at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
     [java] at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
     [java] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
     [java] at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
     [java] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
     [java] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
     [java] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
     [java] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
     [java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
     [java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
     [java] at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:121)
     [java] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1500)
     [java] at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1456)
     [java] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:355)
     [java] at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:407)
     [java] at com.sun.identity.qatest.setup.ClientConfigCreator.CheckValues(ClientConfigCreator.java:595)
     [java] at com.sun.identity.qatest.setup.ClientConfigCreator.getDefaultValues(ClientConfigCreator.java:156)
     [java] at com.sun.identity.qatest.setup.ClientConfigCreator.<init>(ClientConfigCreator.java:103)
     [java] at com.sun.identity.qatest.setup.ClientConfigCreator.main(ClientConfigCreator.java:803)

Any clues what is going wrong.?

Thanks,
Chanda
[Message sent by forum member 'chandp' (chandp)]

http://forums.java.net/jive/thread.jspa?messageID=359502