jaxws tmp files may cause disk full

Sea'n Coffey sean.coffey at oracle.com
Tue May 19 11:14:36 UTC 2015


I should have noticed that ServerConnectionImpl is using the
ReadAllStream class. In that case, the custom close method where the
delete happens would need to be called. Patch should work but best for
jaxws engineers to comment.

I've logged a bug report for you at
https://bugs.openjdk.java.net/browse/JDK-8080662

Regards, 
Sean.

On 19/05/2015 11:04, Sea'n Coffey wrote:
> 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