You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/20 16:19:48 UTC

[jira] Commented: (AXIS-2128) Deleting temporary files when using SOAP with attachments

    [ http://issues.apache.org/jira/browse/AXIS-2128?page=comments#action_12316234 ] 

Davanum Srinivas commented on AXIS-2128:
----------------------------------------

Are u using 1.1 or 1.2.1?

-- dims

> Deleting temporary files when using SOAP with attachments
> ---------------------------------------------------------
>
>          Key: AXIS-2128
>          URL: http://issues.apache.org/jira/browse/AXIS-2128
>      Project: Apache Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.1
>  Environment: Windows 2000
>     Reporter: Steve Brown
>     Priority: Minor

>
> We have run into the issue outlined in Steve Loughran's document "Fear of Attachments" 5/26/2004 where Axis 1.1 is not automatically cleaning up large attachment files.  We tried to implement deleting the files within the code but it does not seem to work.  Has this been addressed and is there code available that demonstrates how to do this.  Note we created a housekeeping process to delete the temp files periodaclly
> I was trying to get the AXIS file name and location but I only got back a null string on both the output and input side.
>  
>         savedFile = ((org.apache.axis.attachments.AttachmentPart)myPart).getAttachmentFile();
>         
>         savedFile = ((org.apache.axis.attachments.AttachmentPart)myPart).getContentLocation();
> Just as likely I am doing something wrong??? but I would need to keep digging.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira