Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 83821 invoked from network); 19 Sep 2008 13:42:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 13:42:47 -0000 Received: (qmail 26006 invoked by uid 500); 19 Sep 2008 13:42:44 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 25960 invoked by uid 500); 19 Sep 2008 13:42:44 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 25949 invoked by uid 99); 19 Sep 2008 13:42:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 06:42:44 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ctan@exist.com designates 209.85.198.240 as permitted sender) Received: from [209.85.198.240] (HELO rv-out-0708.google.com) (209.85.198.240) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 13:41:45 +0000 Received: by rv-out-0708.google.com with SMTP id f25so410617rvb.50 for ; Fri, 19 Sep 2008 06:42:18 -0700 (PDT) Received: by 10.140.249.20 with SMTP id w20mr46155rvh.103.1221831738310; Fri, 19 Sep 2008 06:42:18 -0700 (PDT) Received: by 10.140.136.2 with HTTP; Fri, 19 Sep 2008 06:42:18 -0700 (PDT) Message-ID: <10c62ca80809190642t49170f5eod00fef040fe14fb8@mail.gmail.com> Date: Fri, 19 Sep 2008 21:42:18 +0800 From: "Marica Tan" To: dev@continuum.apache.org, buckett@bumph.org Subject: Re: Issues with 1.2 release In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36483_12808418.1221831738304" References: <9948cb690809161100n46df0a42lf68733fded802db8@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_36483_12808418.1221831738304 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have actually encountered this error, though sometimes I can successfully upload a pom file. We have the same conclusion that it's the FileUploadInterceptor that's deleting the uploaded file. Thanks, -- Marica On Fri, Sep 19, 2008 at 7:53 PM, Matthew Buckett wrote: > On Wed, Sep 17, 2008 at 10:09 AM, Matthew Buckett > wrote: > > On Tue, Sep 16, 2008 at 7:00 PM, Olivier Lamy wrote: > >> Hi, > >> I have tested the upload file mode and didn't find issues. > > > > I have installed continuum 1.2 on a Linux vmware image and seem to get > > the same error. > > > >> Is the parent pom available in a repository declared in your > settings.xml ? > > > > No, I don't think so. But why would the same pom.xml work when > > downloaded from a URL but not work when uploaded through a web > > browser? > > Running the latest 1.2 WAR in tomcat gives me slight more information: > > org.apache.maven.continuum.ContinuumException: Error reading POM > at > org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:94) > at > org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:158) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) > at > com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) > at > com.opensymphony.webwork.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:35) > at java.lang.Thread.run(Thread.java:613) > Caused by: java.io.FileNotFoundException: > > /private/tmp/apache-tomcat-5.5.26/work/Catalina/localhost/continuum/upload__fb4026e_11c7a6e9eeb__7ff5_00000009.tmp > (No such file or directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at java.io.FileInputStream.(FileInputStream.java:66) > at java.io.FileReader.(FileReader.java:41) > at > org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:82) > ... 9 more > 2008-09-19 12:50:02,405 [http-8080-Processor20] INFO > com.opensymphony.webwork.dispatcher.DispatcherUtils - Unable to find > 'webwork.multipart.saveDir' property setting. Defaulting to > javax.servlet.context.tempdir > 2008-09-19 12:50:02,418 [http-8080-Processor20] INFO > com.opensymphony.webwork.interceptor.FileUploadInterceptor - File > m2PomFile text/xml pom.xml > > /private/tmp/apache-tomcat-5.5.26/work/Catalina/localhost/continuum/upload__fb4026e_11c7a6e9eeb__7ff5_00000015.tmp > 2008-09-19 12:50:02,435 [http-8080-Processor20] INFO > com.opensymphony.webwork.interceptor.FileUploadInterceptor - Removing > file m2PomFile > /private/tmp/apache-tomcat-5.5.26/work/Catalina/localhost/continuum/upload__fb4026e_11c7a6e9eeb__7ff5_00000015.tmp > 2008-09-19 12:50:02,443 [addMavenTwoProjectBackgroundThread] INFO > continuumProjectBuilder#maven-two-builder - Downloading > > file:/private/tmp/apache-tomcat-5.5.26/work/Catalina/localhost/continuum/upload__fb4026e_11c7a6e9eeb__7ff5_00000015.tmp > 2008-09-19 12:50:02,444 [addMavenTwoProjectBackgroundThread] INFO > continuum - Created 0 projects. > 2008-09-19 12:50:02,444 [addMavenTwoProjectBackgroundThread] INFO > continuum - Created 0 project groups. > 2008-09-19 12:50:02,444 [addMavenTwoProjectBackgroundThread] INFO > continuum - 1 errors. > 2008-09-19 12:50:02,444 [addMavenTwoProjectBackgroundThread] INFO > continuum - 1 errors during project add: > 2008-09-19 12:50:02,444 [addMavenTwoProjectBackgroundThread] INFO > continuum - > > > It seems like the > com.opensymphony.webwork.interceptor.FileUploadInterceptor is deleting > the uploaded file before it can be added by the project builder. > > -- > Matthew Buckett > ------=_Part_36483_12808418.1221831738304--