We're updating the issue view to help you get more done. 

Deploy hang on socket write on rare condition

Description

main" #1 prio=5 os_prio=0 tid=0x00007f41fc00c000 nid=0x1514 runnable [0x00007f420442c000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)

  • locked <0x00000000a6679728> (a java.io.BufferedOutputStream)
    at java.io.PrintStream.flush(PrintStream.java:338)

  • locked <0x00000000a6679740> (a java.io.PrintStream)
    at java.io.PrintStream.checkError(PrintStream.java:392)
    at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3477)
    at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3461)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)

  • locked <0x00000000a667b7a0> (a java.io.BufferedOutputStream)
    at org.openspaces.pu.container.servicegrid.deploy.Deploy.uploadPU(Deploy.java:1075)
    at org.openspaces.pu.container.servicegrid.deploy.Deploy.buildOperationalString(Deploy.java:399)
    at org.openspaces.pu.container.servicegrid.deploy.Deploy.deployAndWait(Deploy.java:280)

Looking at Webster code the default SoTimeout is 0, we might consider changing it or find another way to avoid hanging
(it was hanging in cli for 1h till stopped)

Workaround

None

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12026

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Enterprise

Platform

All