FileNotFoundException when adding Project and Server is under heavy load
------------------------------------------------------------------------

                 Key: CONTINUUM-2412
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2412
             Project: Continuum
          Issue Type: Bug
          Components: Jetty Bundle
    Affects Versions: 1.3.4
         Environment: Windows Server 2008
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
            Reporter: Stefan Cordes
            Priority: Minor


Add a project via "Maven 1.x Project" and selecting a file in the local file 
system 
leads into a FileNotFoundException
After several retries the project is added normally.

java.lang.RuntimeException: java.io.FileNotFoundException: Source 
'.\tmp\Jetty_0_0_0_0_9080_continuum__continuum__.7gr0yc\upload__1d4e7c7c_1252b73f861__7ff5_00000032.tmp'
 does not exist
        at 
org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:178)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
        at 
org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:56)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: Source 
'.\tmp\Jetty_0_0_0_0_9080_continuum__continuum__.7gr0yc\upload__1d4e7c7c_1252b73f861__7ff5_00000032.tmp'
 does not exist
        at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:637)
        at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:607)
        at 
org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:168)
        ... 8 more


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to