users@glassfish.java.net

[gf-users] Glassfish 3.1.2.2 : socket closed issue

From: Thomas CATTY <thomas.catty_at_highwave360.com>
Date: Thu, 05 Jun 2014 17:27:40 +0200

Hi guys,
Hope you're well. Looking for an expert to help me ;-)

I keep coping with that issue I don't know how to solve.
We developed a decision making tool software in finance area.
I'm using GF 3.1.2.2 on Debian (in a Vmware VM part of a powerful physical
server) for the server part serving some webservices to a jnlp client
application.
This application keeps asking for data to update the charts in the software.

ok. my issue is that a certain amount of time (1h, 2h ) for an unknown
reason which doesn't seem to be related to the network I got a 'socket
closed' error message
on the client side (in the java log console).
From that time I'm unable to retrieve any new data by the http web service.
(but NIO connection for example is still running)
I tried many things like increasing or removing the timeoutŠI skimmed
through many blogs or forums ..but it didn't work.

If you could help you'd save my life ;-)
thanks in advance guys !!

Here below a print screen of the logs when the error occurred :

Java Web Start 10.55.2.13
Utilisation de la version JRE 1.7.0_55-b13 Java HotSpot(TM) 64-Bit Server VM
Répertoire de base de l'utilisateur = /Users/thomascatty
----------------------------------------------------
c: effacer la fenêtre de la console
f: finaliser les objets de la file d'attente de finalisation
g: nettoyer la mémoire
h: afficher ce message d'aide
m: imprimer le relevé d'utilisation de la mémoire
o: déclencher la journalisation
p: recharger la configuration du proxy
q: masquer la console
r: recharger la configuration des règles
s: vider les propriétés système et de déploiement
t: vider la liste des threads
v: vider la pile des threads
0-5: fixer le niveau de trace à <n>
----------------------------------------------------
Exception in thread "Thread-55319"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more
Exception in thread "Thread-56584"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more
Exception in thread "Thread-57958"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more
Exception in thread "Thread-59140"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more
Exception in thread "Thread-60110"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more
Exception in thread "Thread-61537"
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport
error: java.net.SocketException: Socket closed
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:117)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Http
TransportPipe.java:194)
at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processReque
st(HttpTransportPipe.java:122)
at
com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Defer
redTransportPipe.java:95)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:626)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:585)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:570)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:467)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:308)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:163)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:98)
at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandle
r.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy25.getListNewsStandard(Unknown Source)
at C.d.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.ja
va:200)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:996)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:932)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:8
50)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnectio
n.java:1091)
at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(
HttpClientTransport.java:105)
... 15 more



Thomas CATTY
www.highwave360.com