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 "Steve Brown (JIRA)" <ax...@ws.apache.org> on 2005/07/19 21:56:46 UTC

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

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


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

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
    [ 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


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

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2128?page=all ]
     
Davanum Srinivas resolved AXIS-2128:
------------------------------------

    Resolution: Incomplete

Please let us know the Axis version.

> 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


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

Posted by "Steve Brown (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2128?page=comments#action_12318355 ] 

Steve Brown commented on AXIS-2128:
-----------------------------------

This has not been resolved.  Can someone provide us information on this?  The claim is that is was fixed in Axis 1.1 and it was not.  Thanks

> 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