Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 39025 invoked from network); 20 Jul 2005 14:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2005 14:20:31 -0000 Received: (qmail 92609 invoked by uid 500); 20 Jul 2005 14:20:06 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 92554 invoked by uid 500); 20 Jul 2005 14:20:06 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 92504 invoked by uid 99); 20 Jul 2005 14:20:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 07:19:51 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6B5BCDA for ; Wed, 20 Jul 2005 16:19:48 +0200 (CEST) Message-ID: <1969520221.1121869188438.JavaMail.jira@ajax.apache.org> Date: Wed, 20 Jul 2005 16:19:48 +0200 (CEST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2128) Deleting temporary files when using SOAP with attachments In-Reply-To: <1119602006.1121803006535.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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