Return-Path: Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: (qmail 84605 invoked from network); 23 Mar 2009 16:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 16:15:14 -0000 Received: (qmail 4654 invoked by uid 500); 23 Mar 2009 16:15:13 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 4575 invoked by uid 500); 23 Mar 2009 16:15:13 -0000 Mailing-List: contact dev-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list dev@archiva.apache.org Received: (qmail 4560 invoked by uid 99); 23 Mar 2009 16:15:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 16:15:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oching@exist.com designates 209.85.221.134 as permitted sender) Received: from [209.85.221.134] (HELO mail-qy0-f134.google.com) (209.85.221.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 16:15:05 +0000 Received: by qyk40 with SMTP id 40so3293700qyk.5 for ; Mon, 23 Mar 2009 09:14:44 -0700 (PDT) MIME-Version: 1.0 Sender: oching@exist.com Received: by 10.229.94.141 with SMTP id z13mr3030866qcm.89.1237824883919; Mon, 23 Mar 2009 09:14:43 -0700 (PDT) In-Reply-To: <1a57a2980903230825y1e74953bp8ed0f0da104fb461@mail.gmail.com> References: <1a57a2980903212259r6853be13h8d51ef26fed94bc4@mail.gmail.com> <671DDD54-667B-4FC6-A137-0CB2F81CE764@apache.org> <4c39e3030903230415g3c2c6e87rc6299bca6878419a@mail.gmail.com> <307019A7-EA2B-492B-8D48-863ECA0D0FDF@apache.org> <4c39e3030903230436m4cef560fw1fadd052b05c95cd@mail.gmail.com> <8BCFD741-21A1-4A42-8D62-7F09DFCC0C79@apache.org> <4c39e3030903230539va750d1ehde71a694fe7ae7ca@mail.gmail.com> <4c39e3030903230543y62fa3afud6f625d2cbdda7e@mail.gmail.com> <4c39e3030903230601k6dc63138r3f243bb2ad8dcce6@mail.gmail.com> <1a57a2980903230825y1e74953bp8ed0f0da104fb461@mail.gmail.com> Date: Tue, 24 Mar 2009 00:14:43 +0800 X-Google-Sender-Auth: 3b48838ac0a94748 Message-ID: <1a57a2980903230914q1db4190en51a551b735f6a428@mail.gmail.com> Subject: Re: [VOTE] Release Archiva 1.2 From: Maria Odea Ching To: dev@archiva.apache.org Content-Type: multipart/alternative; boundary=0016364ee58c800a4b0465cb9004 X-Virus-Checked: Checked by ClamAV on apache.org --0016364ee58c800a4b0465cb9004 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I was able to deploy and access the archiva 1.2 war in tomcat 5.5.17 (ubuntu linux) I had the following error during startup though (even after I edited the log4j.xml file in the war to set the path to the logs): log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /logs/archiva-security-audit.log (No such file or directory) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:177) at java.io.FileOutputStream.(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220) ... log4j:ERROR Either File or DatePattern options are not set for appender [redbackAuditLog]. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /logs/archiva.log (No such file or directory) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:177) at java.io.FileOutputStream.(FileOutputStream.java:102) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215) ... I was still able to access Archiva webapp even with the above errors.. Could the problem you encountered be related to http://jira.codehaus.org/browse/MRM-1085 ? Thanks, Deng On Mon, Mar 23, 2009 at 11:25 PM, Maria Odea Ching wrote: > I'll try deploying the war on my end as well and see if i can get anything > out from the logs.. > > -Deng > > > On Mon, Mar 23, 2009 at 9:01 PM, nicolas de loof > wrote: > >> Works far better on my dev environment with wagon-ssh component.xml fixed >> ;) >> >> But still not starts / no log on my target server, that I can't remote >> debug >> :'( >> >> On Mon, Mar 23, 2009 at 1:43 PM, nicolas de loof >> wrote: >> >> > Hey, the class is "NullKnownHostProvider", with singular "Host" >> > >> > >> > On Mon, Mar 23, 2009 at 1:39 PM, nicolas de loof < >> nicolas.deloof@gmail.com >> > > wrote: >> > >> >> Trying to run archiva 1.2 on my local dev Tomcat is better as I get >> >> console logs, but not really fine : >> >> ClassNotFoundException: org.apache.maven.project.ModelResolver >> >> ... >> >> Related cause: >> >> ClassNotFoundException: >> >> org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostsProvider >> >> >> >> (but wagon-ssh-common is in WEB-NF/lib ???) >> >> >> >> >> >> >> >> >> >> >> >> On Mon, Mar 23, 2009 at 12:51 PM, Brett Porter >> wrote: >> >> >> >>> I had to step into the app with a debugger unfortunately to find the >> >>> below - do you have all of these set? >> >>> >> >>> - Brett >> >>> >> >>> >> >>> On 23/03/2009, at 10:36 PM, nicolas de loof wrote: >> >>> >> >>> Right, I have changed the log4j.xml to use hard-coded path and set >> all >> >>>> loggers to "debug", but still fail starting Archiva and have no log >> in >> >>>> archiva.log :'( >> >>>> >> >>>> Seems to be the "something went wrong, let's see if you can guess the >> >>>> exception" case :) >> >>>> >> >>>> >> >>>> On Mon, Mar 23, 2009 at 12:27 PM, Brett Porter >> >>>> wrote: >> >>>> >> >>>> >> >>>>> On 23/03/2009, at 10:15 PM, nicolas de loof wrote: >> >>>>> >> >>>>> Did I miss something or was this allready required in 1.1.* ? >> >>>>> >> >>>>>> I can't remember having patched the standard war but it woks fine >> on >> >>>>>> my >> >>>>>> tomcat. Beeing a shared instance I can't setup custom JVM system >> >>>>>> properties >> >>>>>> :( >> >>>>>> >> >>>>>> >> >>>>> It was, but only for logs. >> >>>>> >> >>>>> http://archiva.apache.org/docs/1.1.3/adminguide/webapp.html >> >>>>> >> >>>>> All of the following are required (the JSW startup scripts set them >> in >> >>>>> standalone): >> >>>>> >> >>>>> * appserver.base set >> >>>>> * appserver.home set >> >>>>> * activation.jar and mail.jar in tomcat's common/lib >> >>>>> >> >>>>> I've wanted to remove this for a while, but it fell off my radar... >> >>>>> I'll >> >>>>> see if there's a way to set it elsewhere than the command line. >> >>>>> >> >>>>> - Brett >> >>>>> >> >>>>> >> >>>>> -- >> >>>>> Brett Porter >> >>>>> brett@apache.org >> >>>>> http://blogs.exist.com/bporter/ >> >>>>> >> >>>>> >> >>>>> >> >>> -- >> >>> Brett Porter >> >>> brett@apache.org >> >>> http://blogs.exist.com/bporter/ >> >>> >> >>> >> >> >> > >> > > > > -- > Maria Odea Ching > Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching | > www.exist.com | Innovation Delivered > -- Maria Odea Ching Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching | www.exist.com | Innovation Delivered --0016364ee58c800a4b0465cb9004--