Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E5C595BB for ; Thu, 12 Apr 2012 10:35:51 +0000 (UTC) Received: (qmail 80586 invoked by uid 500); 12 Apr 2012 10:35:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80535 invoked by uid 500); 12 Apr 2012 10:35:48 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 80526 invoked by uid 99); 12 Apr 2012 10:35:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:35:48 +0000 Received: from localhost (HELO mail-ee0-f45.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 10:35:47 +0000 Received: by eeit10 with SMTP id t10so750419eei.18 for ; Thu, 12 Apr 2012 03:35:46 -0700 (PDT) Received: by 10.213.9.204 with SMTP id m12mr170437ebm.50.1334226946030; Thu, 12 Apr 2012 03:35:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.13.77 with HTTP; Thu, 12 Apr 2012 03:35:25 -0700 (PDT) In-Reply-To: References: From: Olivier Lamy Date: Thu, 12 Apr 2012 12:35:25 +0200 Message-ID: Subject: Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, Apologize for delay. That should be fixed now (I have deployed 2.0-SNAPSHOT). If you could try with your use case. Thanks, 2012/4/8 Olivier Lamy : > Hello Leigh, > Thanks for creating issue. > Until now I tried to reproduce the issue but I failed. > I wonder if you could attach a build log using -e mvn flag. > > 2012/4/5 Leigh Anderson : >> Hi Olivier, >> >> I'm not able to run this with tomcat6 as it's a Servlet 3.0 project. I'l= l >> get the issue created -- should have some time next week to put together= a >> sample project. >> >> >> Thanks, >> Leigh >> >> On 04/04/2012 11:36, "Olivier Lamy" wrote: >> >>>Hello, >>>Looks to be an issue (does that work with tomcat6:run ?) >>>Could you create an issue here: >>>https://issues.apache.org/jira/browse/MTOMCAT (if possible with a >>>small sample project to reproduce). >>> >>>Thanks >>>-- >>>Olivier Lamy >>>Talend: http://coders.talend.com >>>http://twitter.com/olamy | http://linkedin.com/in/olamy >>> >>>2012/4/3 Leigh Anderson : >>>> Hi All, >>>> >>>> I'm trying to start a web application with 'mvn tomcat7:run'. It seems >>>> that with the configuration below it fails with the following error: >>>> >>>> >>>> =A0 =A0 =A0 =A0[INFO] >>>> ----------------------------------------------------------------------= -- >>>> =A0 =A0 =A0 =A0[ERROR] Failed to execute goal >>>> org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-beta-1:run >>>>(default-cli) >>>> on project mantis-test-web-app: No such archiver: 'jar'. -> [Help 1] >>>> =A0 =A0 =A0 =A0[ERROR] >>>> =A0 =A0 =A0 =A0[ERROR] To see the full stack trace of the errors, re-r= un Maven >>>>with the >>>> -e switch. >>>> =A0 =A0 =A0 =A0[ERROR] Re-run Maven using the -X switch to enable full= debug >>>>logging. >>>> >>>> I have also tried >>>> =A0 =A0 =A0 =A0* 'mvn tomcat:run-war', which seems to get past this po= int, but >>>>then the >>>> application will not start because the 'additionalClasspathDir' proper= ty >>>> is not supported by the 'run-war' goal. >>>> =A0 =A0 =A0 =A0* removing 'useSeparateTomcatClassLoader' which then do= esn't >>>>load the >>>> Spring instrumenting class loader required to use AspectJ LTW, specifi= ed >>>> in >>>> context.xml. I have confirmed that I get the same 'no such archiver' >>>>error >>>> if I remove the >>>> context.xml, so I don't believe this to be the cause. >>>> >>>> Is there something I've missed in the configuration? >>>> >>>> Cheers, >>>> Leigh >>>> >>>> >>>> >>>> >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org.apache.tom= cat.maven >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0tomcat7-mav= en-plugin >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A02.0-beta-1 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> >>>>true >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0localhost >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A09090 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A08443 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A09090 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A08443= >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/ >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0false >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> >>>> >>>>${project.basedir}/config>>>> >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> >>>> true >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org.springframework >>>> >>>> >>>>spring-instrument-tomcat >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0${spring.version} >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >>>> >>>> >>>> >>>> ______________________________________________________________________= __ >>>> In order to protect our email recipients, Betfair Group use SkyScan fr= om >>>> MessageLabs to scan all Incoming and Outgoing mail for viruses. >>>> >>>> ______________________________________________________________________= __ >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>For additional commands, e-mail: users-help@tomcat.apache.org >>> >> >> >> ________________________________________________________________________ >> In order to protect our email recipients, Betfair Group use SkyScan from >> MessageLabs to scan all Incoming and Outgoing mail for viruses. >> >> ________________________________________________________________________ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy --=20 Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org