Return-Path: Delivered-To: apmail-archiva-dev-archive@www.apache.org Received: (qmail 90503 invoked from network); 23 Mar 2009 16:37:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 16:37:08 -0000 Received: (qmail 43485 invoked by uid 500); 23 Mar 2009 16:37:08 -0000 Delivered-To: apmail-archiva-dev-archive@archiva.apache.org Received: (qmail 43395 invoked by uid 500); 23 Mar 2009 16:37:08 -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 43385 invoked by uid 99); 23 Mar 2009 16:37:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 16:37:08 +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 (nike.apache.org: domain of emmanuel.venisse@gmail.com designates 209.85.218.158 as permitted sender) Received: from [209.85.218.158] (HELO mail-bw0-f158.google.com) (209.85.218.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 16:36:58 +0000 Received: by bwz2 with SMTP id 2so1689273bwz.15 for ; Mon, 23 Mar 2009 09:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=z1YqtAVXfqM5uBK8c9EV+7SDPNXrZLkOsigAKChUErE=; b=WK7hn8XQUqsNOFK5UIXerTv6kEQqWyu40A0MKgPQdu5G19nA4ES1OdGbriqcw5fWEO UNyqbORQW3qlCBTz+Odv1CL8gF0ZHqPewOHQB8po3Ytppw9JROnMdp61D+8PqfTQIAX0 D53HcFO5nKkXXayAgXy0bgajugthBuxNNQTkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=V4Wsq1HMWWnOCENov0SGu/5f+12gRbgAJLQzAV6eFpzSMTSOQdNP5QrFZa+ZmuO5K6 einSofpe53TrGIikV0G37AvbvIvT0l/giwqI500HL69A20ENjDvqNmKR/xzUnaJeA7Lw AYcPQq6+zB6tiG6dUEB+ygMNeRiQOVg+3cxEc= MIME-Version: 1.0 Received: by 10.223.112.204 with SMTP id x12mr6182689fap.70.1237826197372; Mon, 23 Mar 2009 09:36:37 -0700 (PDT) In-Reply-To: <1a57a2980903230914q1db4190en51a551b735f6a428@mail.gmail.com> References: <1a57a2980903212259r6853be13h8d51ef26fed94bc4@mail.gmail.com> <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> <1a57a2980903230914q1db4190en51a551b735f6a428@mail.gmail.com> Date: Mon, 23 Mar 2009 17:36:37 +0100 Message-ID: Subject: Re: [VOTE] Release Archiva 1.2 From: Emmanuel Venisse To: dev@archiva.apache.org Content-Type: multipart/alternative; boundary=001636c5b1f4c9c07b0465cbde5d X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b1f4c9c07b0465cbde5d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The logs directory isn't created automatically, so you must create it first.I don't think it is good to use "/logs", /var/tomcat/logs or something else would be better Emmanuel On Mon, Mar 23, 2009 at 5:14 PM, Maria Odea Ching wrote: > 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 < > nicolas.deloof@gmail.com > > > 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 > --001636c5b1f4c9c07b0465cbde5d--