[ 
https://issues.apache.org/jira/browse/OFBIZ-4856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269644#comment-13269644
 ] 

Jacopo Cappellato commented on OFBIZ-4856:
------------------------------------------

I was simply trying to get some help as you may know better than me what this 
code was supposed to do; I didn't want to imply that you own the code, in fact 
you don't and I am already in the process of removing the problematic/dangerous 
code and reimplementing a part of it.
Scott is also refactoring another part of it and then we should be in a better 
spot.
Going back to my question and your answer:
"Probably this was done as part of 
a housekeeping job to delete all the files which were produced by 
registrations."

I don't think it is the case because that code is executed every time a new 
captcha image is created.


                
> webapp "tempfiles" is not successfully loaded because of 
> java.io.FileNotFoundException during startup
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4856
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4856
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4856.patch
>
>
> During startup, there's a "java.io.FileNotFoundException" thrown out when 
> ofbiz trying to load webapp "tempfiles" which is defined by framework/images 
> component.
> The file not found is "runtime/tempfiles/WEB-INF/web.xml". This file does not 
> exist from the very first, catalina container will use default web.xml 
> instead.
> I apply a patch for this issue to catch the "java.io.FileNotFoundException" 
> and bypass it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to