You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Himanshu goyal (JIRA)" <ji...@apache.org> on 2007/04/13 19:27:52 UTC

[jira] Created: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
----------------------------------------------------------------------------

                 Key: STR-3031
                 URL: https://issues.apache.org/struts/browse/STR-3031
             Project: Struts 1
          Issue Type: Temp
          Components: Core
    Affects Versions: 1.2.4
         Environment: Tomcat on linux, with Struts 
            Reporter: Himanshu goyal
         Assigned To: Martin Cooper
            Priority: Critical


Hi Martin,
>   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> like many times the temp files created internally for different purpose remains there if the request is aborted.
> i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> impacting performance.
>
> Can it be implemented using Session listener or some other way..
> kindly request you to tell me the way or any sample code demonstrating this..
> my requirement is just to cleanup the temporarily files for aborted requests.
>
>
> i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
>
any help wud be Really Thankful... 
>
> Thanks & Regards
> Himanshu Goyal
> System Analyst
> Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> email: himanshu.goyal@nihilent.com


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Himanshu goyal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40801 ] 

Himanshu goyal commented on STR-3031:
-------------------------------------

hi Paul,

 Thanks for Replying ....
Actually i cant use common-fileupload 1.2 and higher as of now.. but my
problem is also related to the files i am created with my code. and they
even dont get deleted in case of Aborted Request
i tried finding strutsCleanupListener.. but didn;t find much abt it..
plz can u more elaborate on this.. and if u can find the code. plz send me
..or any alternative way to catch the aborted Request and cleanup the files
created for this...

Thanks & Regards
Himanshu Goyal





-- 

Himanshu Goyal
Trainee System Engineer
Office Nos. 403 & 404, 4th Floor,
Wiekfield IT City Infotech, Nagar Road,
Pune-411014 , India
Mobile : +91-9219631256
Phone (O): 91-020-39846100 Extn: 586
email : himanshu.goyal@nihilent.com


> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>         Assigned To: Martin Cooper
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Himanshu goyal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40804 ] 

Himanshu goyal commented on STR-3031:
-------------------------------------

Hi paul
    My problem is related to the Aborted Request .. so if i write a
ServletFilter then also it wont complete its execution.. and currently in
one of my filter a temp file is created which is creating problem for me...
so please suggest me another way of doing this.. such that i can get the
References of the Aborted Request and also the task done by that request ..,
so that it can be cleaned up//

Right now i m using a Filter called GZIPFilter for Compressing the Response.
and with in this filter i have used some HTML-Parsing Logic to manipulate
the ResponseStream for some Encryption and Decryption..
but the files created for that parsing Logic remains There if during that
processing somehow Request is Aborted.. .
Please suggest me something.... apart from this...

Regards
himanshu Goyal




-- 

Himanshu Goyal
Trainee System Engineer
Office Nos. 403 & 404, 4th Floor,
Wiekfield IT City Infotech, Nagar Road,
Pune-411014 , India
Mobile : +91-9219631256
Phone (O): 91-020-39846100 Extn: 586
email : himanshu.goyal@nihilent.com


> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Martin Cooper (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Cooper reassigned STR-3031:
----------------------------------

    Assignee:     (was: Martin Cooper)

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40790 ] 

Paul Benedict commented on STR-3031:
------------------------------------

I've been reading alot of Struts 2 this week, and they use something called a StrutsCleanupListener (name may be wrong). It's purpose is to perform clean up tasks on each request. Is such a methodology applicable here?

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>         Assigned To: Martin Cooper
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40791 ] 

Niall Pemberton commented on STR-3031:
--------------------------------------

AFAIK Struts 1.2.4 shipped with Commons FileUpload 1.0 - is this the version you're using?

A new mechanism for deleting temporary files was introduced in FileUpload 1.1 (requires Commons IO) - having said that I believe there were problems with that which have been fixed in more recent versions. I would suggest you try upgrading to the latest Commons FileUpload (1.2) and Commons IO (1.3.1) versions:

  http://jakarta.apache.org/commons/io/
  http://jakarta.apache.org/commons/fileupload/

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>         Assigned To: Martin Cooper
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40806 ] 

Paul Benedict commented on STR-3031:
------------------------------------

If you can't catch any exceptions in the filter when the upload aborts, then write yourself a scheduling task to clean the files up on a periodic basis. 

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict resolved STR-3031.
--------------------------------

    Resolution: Not A Problem

The issue is not a problem with Struts codebase so I am closing this ticket. If you want to continue researching solutions to your problem, the user mailing list is your best bet.

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40792 ] 

Paul Benedict commented on STR-3031:
------------------------------------

Speaking of such, do you want to update 1.4 POM with the latest dependencies?

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>         Assigned To: Martin Cooper
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40802 ] 

Paul Benedict commented on STR-3031:
------------------------------------

Write yourself a Servlet Filter. The Filter, after a request completes, should delete any files in a known temp directory. Provide the temp directory to your Filter through an initialization parameter.

> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3031) Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .

Posted by "Himanshu goyal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40807 ] 

Himanshu goyal commented on STR-3031:
-------------------------------------

Hi

   PLz suggest me can this task of cleaning up files for Aborted Uploads be
done using Session Listener who could possibly catch those events . as some
Mr Ryan from a forum suggested this to me..
and
as if i do the cleanup Regularly then also there is a possibility that the
process attempts to delete the files in Use...
So plz suggest me if SessionLIstener Could be Useful..

i have also written one cron Jon for the Purpose to delete the files.. but
still i need a better solution such that only if there are any aborted
uploads then only the Process should be Invoked.. as in the production
environment ,, the Application is Quite bulky and will impact some
performance. if i add some scheduled Cleanup.. and even i m doubtful abt the
Frequency of such files generated...
as sometimes it maked the Webserver uncomfortable saying the "OUT OF MEMORY
" Error..

Thanks & Regards
Himanshu Goyal



-- 

Himanshu Goyal
Trainee System Engineer
Office Nos. 403 & 404, 4th Floor,
Wiekfield IT City Infotech, Nagar Road,
Pune-411014 , India
Mobile : +91-9219631256
Phone (O): 91-020-39846100 Extn: 586
email : himanshu.goyal@nihilent.com


> Cleaning of Temp files Created During Aborted Requests and Aborted Uploads .
> ----------------------------------------------------------------------------
>
>                 Key: STR-3031
>                 URL: https://issues.apache.org/struts/browse/STR-3031
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Tomcat on linux, with Struts 
>            Reporter: Himanshu goyal
>            Priority: Critical
>
> Hi Martin,
> >   could u please help me abt my problem with Temporary files created during aborted uploads. and other concerns..
> > like many times the temp files created internally for different purpose remains there if the request is aborted.
> > i just wanted to know how to catch those Aborted Requests so that we can do the cleanup , ad due to this my Temp folder for the web-server is getting very heavy and is
> > impacting performance.
> >
> > Can it be implemented using Session listener or some other way..
> > kindly request you to tell me the way or any sample code demonstrating this..
> > my requirement is just to cleanup the temporarily files for aborted requests.
> >
> >
> > i have implemented the File upload such that the uploaded file first gets loaded locally for virus scanning.. and then gets uploaded to the destination .. but the problem occurs when someone
> > aborts the request such that the temp files created for virus scanning remains there.. and sometimes it maked the temp folder so much bulky that it impacts performance.
> >
> any help wud be Really Thankful... 
> >
> > Thanks & Regards
> > Himanshu Goyal
> > System Analyst
> > Nihilent Technology pvt Ltd.[ CMMI-5 Certified Company ]
> > email: himanshu.goyal@nihilent.com

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.