users@glassfish.java.net

RE: java.net.socketException : Connection reset

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Fri, 7 Aug 2009 17:24:14 -0400

check the SocketPermission in /config/server.policy

    permission java.net.SocketPermission "*", "connect";

?
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Fri, 7 Aug 2009 13:26:32 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: java.net.socketException : Connection reset
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009