Hi all, One of my customer encountered a disk full error and found that the /tmp was filled with files "jaxws<19 numbers>.bin".
I could not find a known issue like it, but noticed that the jaxws code in openjdk may leave temporary files in the /tmp. I suggest a fix for the code as attached. Please note that I have not confirmed that the fix works, but I would like to show you it now because it may take some time to confirm, and necessity for the fix looks rather obvious for me. Thanks, Shinji
diff -r 45ef73bb85c1 -r 455600e57dd2 src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java --- a/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java Thu May 14 12:38:10 2015 -0700 +++ b/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/transport/http/server/ServerConnectionImpl.java Tue May 19 10:09:15 2015 +0900 @@ -168,6 +168,7 @@ public void close() throws IOException { if (!closed) { readAll(); + in.close(); super.close(); closed = true; } @@ -195,6 +196,7 @@ // This causes problems for streaming in one-way cases in.readAll(); try { + in.close(); super.close(); } catch(IOException ioe) { // Ignoring purposefully.