PDA

View Full Version : Resin 4 - SocketException: Socket closed


keithdfetterman
04-04-2011, 04:54 PM
Generally when I stop resin using the gui, I am getting the error "WARNING: java.lang.RuntimeException: java.net.SocketException: Socket closed" when it is shutting down. I am reporting this in case its a bug.

I am using resin 4.0.16 pro on Ubuntu 10.10 using the Sun JVM 1.6.0_24. I am starting resin using the following command "$RESIN_ROOT/bin/resin.sh gui".

Below is the stack trace.


Shutdown Resin reason: OK

Apr 4, 2011 9:43:12 AM com.caucho.env.thread.ResinThread runTasks
WARNING: java.lang.RuntimeException: java.net.SocketException: Socket closed
java.lang.RuntimeException: java.net.SocketException: Socket closed
at com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker. java:117)
at com.caucho.env.thread.ResinThread.runTasks(ResinTh read.java:164)
at com.caucho.env.thread.ResinThread.run(ResinThread. java:130)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream. java:162)
at java.net.SocketInputStream.read(SocketInputStream. java:182)
at com.caucho.remote.websocket.UnmaskedFrameInputStre am.readFrameHeaderImpl(UnmaskedFrameInputStream.ja va:137)
at com.caucho.remote.websocket.FrameInputStream.readF rameHeader(FrameInputStream.java:71)
at com.caucho.remote.websocket.WebSocketInputStream.s tartBinaryMessage(WebSocketInputStream.java:78)
at com.caucho.hmtp.HmtpWebSocketReader.readPacket(Hmt pWebSocketReader.java:66)
at com.caucho.hmtp.HmtpLinkWorker.run(HmtpLinkWorker. java:114)
... 2 more
Apr 4, 2011 9:43:12 AM com.caucho.boot.WatchdogChildProcess logStatus
WARNING: Watchdog detected close of Resin[,pid=0]


-- Keith