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 "Tom Jordahl (JIRA)" <ax...@ws.apache.org> on 2005/06/03 20:42:53 UTC

[jira] Commented: (AXIS-2037) attachment temp files are not deleted

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

Tom Jordahl commented on AXIS-2037:
-----------------------------------

How do you suggest that Axis clean up these files?
It is the responsiblity of the service or the client to remove the attachements when it has processed them.


> attachment temp files are not deleted
> -------------------------------------
>
>          Key: AXIS-2037
>          URL: http://issues.apache.org/jira/browse/AXIS-2037
>      Project: Axis
>         Type: Bug
>  Environment: Any Windows OS e.g XP, 2000, 2003 
>     Reporter: Sunil Sane
>  Attachments: attachmentissue.rtf
>
> When a file is sent as an AXIS attachment from client to server using web service. AXIS creates temp file in the attachments directory specified in server-config.wsdd
> *************************************************************************************************************************************
> First few lines of the config file ar as below:
> <?xml version="1.0" encoding="UTF-8"?>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
>  <globalConfiguration>
>   <parameter name="adminPassword" value="admin"/>
>   <parameter name="attachments.Directory" value="c:\data\\attachments"/>
>   <parameter name="sendMultiRefs" value="true"/>
>   <parameter name="sendXsiTypes" value="true"/>
>   <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
>   <parameter name="sendXMLDeclaration" value="true"/>
>   <parameter name="axis.sendMinimizedElements" value="true"/>
> *************************************************************************************************************************************
> The file created is something like Axis<number>axis let's say Axis1111axis. These files do not get removed even if the application is closed. Same thing happens when you receive a file from server to client, similar file is created in c:\Document and Settings\<logged user>\Local Settings\Temp directory.These files also do not get deleted.

-- 
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