users@saaj.java.net

Mimepull temp files issue

From: Jonathan Avraham <jonatanavr_at_gmail.com>
Date: Wed, 13 Jan 2010 13:55:38 +0200

Hi,

I am using SAAJ 1.3.4 with mimepull enabled for large attachment support.
I am using getRawContent() from the attachment , I then proceed to extract
what I need from the Inputstream.
The problem is that the temp file created for the message is not deleted and
still kept open by the system, this means I can't even delete
it manually until I restart tomcat.
I have tried closing the Inputstream, clearing the content from the
attachment and clearing the hole SOAPMessage, nothing worked.

What am i doing wrong?

Thanks,
         Jonatan