>     <!-- ================================================= -->
>     <!-- Parameters -->
>     <!-- ================================================= -->
>     <parameter name="cacheAttachments" locked="false">true</parameter>
>     <parameter name="attachmentDIR" locked="false">temp
> directory</parameter>
Hope you have replaced the above "temp directory" with a real directory.
>
>     <parameter name="sizeThreshold" locked="false">4000</parameter>
>     .........
>     .........
> </axisconfig>
>
>
> The problem I am facing is that when the client is uploading a large file
> and it suddenling reset the connection, and exception of "Error creating
> temporary File" is triggered on the server side, a behaviour that is totaly
> normal. HOWEVER, the file, the client is uploading (and axis2 is writting to
> the disk) stays in the temporary directory specified in the Axis2.xml and
> Axis doesn't delete it !!! (I know that temp files are not deleted by axis2
> BUT I thought that this applies only for completed ones-the ones written to
> the disk without any problem). Is there a solution so that I can get the
> name of these files????
You can get the name of the files through the FileDataSource which can
be obtained by the DataHandler, provided if they are succesfully
uploaded.

IIRC somebody implemented (Samuel??) a mechanism to clean up the
temporary files. I think that's in 1.3.. But I'm not sure whether that
mechanism handles this situation.

thanks,
Thilina
>
> Tnx in advance.
>
> Fahd.
> --
> View this message in context: 
> http://www.nabble.com/Axis2-File-Caching-tf4402803.html#a12560003
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to