submission creates temporary file??

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

submission creates temporary file??

Adrian Baker
Upon upgrading to the current CVS version of Orbeon, I'm noticing a number of new messages in the log:

17 Oct 2007 13:12:51,433 | 7007994     [INFO ] {TP-Processor19} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000189.tmp
17 Oct 2007 13:12:56,246 | 7012807     [INFO ] {TP-Processor11} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000191.tmp
17 Oct 2007 13:13:00,777 | 7017338     [INFO ] {TP-Processor10} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000193.tmp
17 Oct 2007 13:13:06,465 | 7023026     [INFO ] {TP-Processor18} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000195.tmp
17 Oct 2007 13:13:10,965 | 7027526     [INFO ] {TP-Processor9} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000197.tmp
17 Oct 2007 13:13:15,871 | 7032432     [INFO ] {TP-Processor17} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000199.tmp
17 Oct 2007 13:13:21,465 | 7038026     [INFO ] {TP-Processor8} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000201.tmp
17 Oct 2007 13:13:25,778 | 7042339     [INFO ] {TP-Processor12} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000203.tmp
17 Oct 2007 13:13:31,153 | 7047714     [INFO ] {TP-Processor20} (org.orbeon.oxf.xml.XMLUtils) Deleting temporary file: E:\dev\Venice.trunk\Common\CommonService\build\main\catalina-base\temp\upload_00000205.tmp

These seem to be triggered by a polling event I have my form issuing perodically, which results in an <xf:submission ... serialize="false">. A couple of questions:

1) Why are temporary files being created on every submission? Is this efficient?
2) Why is the log statement at the INFO level (cluttering the log)?

Adrian



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: submission creates temporary file??

Alessandro Vernet
Administrator
Hi Adrian,

On 10/16/07, Adrian Baker <[hidden email]> wrote:
>  1) Why are temporary files being created on every submission? Is this
> efficient?
>  2) Why is the log statement at the INFO level (cluttering the log)?

I can't give you a definite answer for #1; yes, I guess this could be
avoided. Let us know if you get a chance to look at this and find a
better way to do it.

For #2, we have this log at the INFO level because we have hit an
issue on one particular application when we try to delete a temporary
file but get an error back saying that the file does not exist. We had
this with just one application, and it happens very rarely. The log in
INFO level is an attempt to collect more information, in particular if
we get to see this in other applications. Once we figure this out,
that message should go back to DEBUG level (or be removed altogether).

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws