jaxws tmp files may cause disk full

Sea'n Coffey sean.coffey at oracle.com
Tue May 19 10:04:23 UTC 2015


The super.close() call should take care of closing the stream. No need
of the extra close call.

Your problem seems to stem from this code :
http://hg.openjdk.java.net/jdk9/jdk9/jaxws/file/tip/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/ReadAllStream.java#l115

The temp files need to be deleted.

Regards, 
Sean.

On 19/05/2015 07:41, Takao, Shinji wrote:
> 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
>



More information about the net-dev mailing list