Return-Path: Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: (qmail 38776 invoked from network); 22 Oct 2010 08:08:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Oct 2010 08:08:46 -0000 Received: (qmail 76577 invoked by uid 500); 22 Oct 2010 08:08:46 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 76530 invoked by uid 500); 22 Oct 2010 08:08:46 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 76522 invoked by uid 99); 22 Oct 2010 08:08:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 08:08:45 +0000 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cmoulliard@gmail.com designates 209.85.161.176 as permitted sender) Received: from [209.85.161.176] (HELO mail-gx0-f176.google.com) (209.85.161.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 08:08:39 +0000 Received: by gxk24 with SMTP id 24so424905gxk.21 for ; Fri, 22 Oct 2010 01:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=EV4FDJU/xXOJoxnQCz7fi0TAzHkbOlHU+S+KOAntqSo=; b=ajdjw3KsSqM8GMWKG+3/11ZAi24TPxvDmBEQ9IlNwohXQ8GoX5QTUbb7/M37OB9XVG Ou1Ny0ax+5BYb2MktyZaNXuhMuJdkNFRivL5wwM1dnKHm3VAd3yBUmGEVqvEL9rQSlc2 2PPQAccO8g5VHCRFARmyuYo7UcYgLcyxocO3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ITGnpUfeVW1kTFlqKZNq4gvXjodnU461GPAn2dyaCJ8xiwn47xvcOMocDdV0SGxRfx RyJJer9VTqKXLOFOkLCBqMZ39rHSuOF3vLgzE6By8uDpnbRk+JEq0PTFLtdD1JlYuS29 1Ws5DACvaYtVzltGKfd/3uBeG1EvXU7MIOQ2E= Received: by 10.42.194.12 with SMTP id dw12mr1682546icb.292.1287734896841; Fri, 22 Oct 2010 01:08:16 -0700 (PDT) Received: from Charles-Moulliards-MacBook-Pro.local (ip-83-134-60-119.dsl.scarlet.be [83.134.60.119]) by mx.google.com with ESMTPS id 34sm2907503ibi.2.2010.10.22.01.08.13 (version=SSLv3 cipher=RC4-MD5); Fri, 22 Oct 2010 01:08:14 -0700 (PDT) Message-ID: <4CC1466C.90301@gmail.com> Date: Fri, 22 Oct 2010 10:08:12 +0200 From: Charles Moulliard User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: dev@karaf.apache.org Subject: Re: AW: Manual using scalate now in svn References: <4CC0628A.7080903@gmail.com> <765841A0-7A1A-4932-B47B-7D92301BED85@gmail.com> <4CAB7869D8D7BB48B0D30A8779722ABF048EFB8D78@SKA-WN-E25CEX.ptvag.ptv.de> <4CAB7869D8D7BB48B0D30A8779722ABF048EFB8D7A@SKA-WN-E25CEX.ptvag.ptv.de> In-Reply-To: <4CAB7869D8D7BB48B0D30A8779722ABF048EFB8D7A@SKA-WN-E25CEX.ptvag.ptv.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Achim, The question of question is very important and interesting because we have the following issue when we launch Jetty Web Server containing the WAR file of ServiceMix (= OSGI Server using Apache Felix or Eclipse Equinox). In this case, the logging mechanism of ServiceMix relying on pax-log does not work because log4j class is loaded twice (first time by Jetty and next by pax-log). Regards, Charles On 22/10/10 10:02, Achim Nierbeck wrote: > About the patch, I can look into this probably this evening, or later this weekend :) > About the pax-logging with the war I have to see into this, but this sounds like a good, idea. > Even though I'm unsure if the war contains log4j jars how would the application be able to log out to a file since the initial logging is configured through the pax-logging. Wouldn't it end up with a class cast exception because of different class loaders? I think I saw something like this a couple of weeks ago :) > > -----Ursprüngliche Nachricht----- > Von: Guillaume Nodet [mailto:gnodet@gmail.com] > Gesendet: Freitag, 22. Oktober 2010 09:58 > An: dev@karaf.apache.org > Betreff: Re: Manual using scalate now in svn > > Btw, do you think you could provide a patch to update karaf to pax-web trunk > ? > That would be awesome. > > On a side note, I wonder if we should add to the war url handler a simple > option to import the pax-logging packages automatically (though with a > resolution:=optional) to avoid problems if the war include a log4j or slf4j > jar for example. I think this would make deploying wars easier. Thoughts ? > > On Fri, Oct 22, 2010 at 09:52, Achim Nierbeck wrote: > >> +1 for the documentation, great job! >> >> One side node from me concerning the war deployer, with the next pax-web >> the deployer is contained in the pax-web project :) >> >> -----Ursprüngliche Nachricht----- >> Von: Guillaume Nodet [mailto:gnodet@gmail.com] >> Gesendet: Freitag, 22. Oktober 2010 07:40 >> An: dev@karaf.apache.org >> Betreff: Re: Manual using scalate now in svn >> >> The style is now up to date. >> >> On Fri, Oct 22, 2010 at 03:37, Freeman Fang >> wrote: >> >>> +1 >>> >>> Thanks >>> Freeman >>> >>> On 2010-10-22, at 上午12:09, Guillaume Nodet wrote: >>> >>> I think the styling has not been synced yet. The styling should not >> have >>>> any red or gray, it's mostly black and blue. >>>> >>>> On Thu, Oct 21, 2010 at 17:55, Charles Moulliard>>>> wrote: >>>> Excellent job. I would like to suggest that we use a different color or >>>>> font for the code / console screen. All the text is grey and does not >>>>> allow >>>>> to make clear content separation. >>>>> >>>>> >>>>> On 21/10/10 17:45, Guillaume Nodet wrote: >>>>> >>>>> I've deployed a snapshot of the karaf manual with the new styling, so >> it >>>>>> should be available at in one hour or so (after the mirrors have been >>>>>> updated): >>>>>> http://karaf.apache.org/manual/2.1.99-SNAPSHOT/index.html >>>>>> >>>>>> Let me know what you think. >>>>>> >>>>>> On Tue, Oct 19, 2010 at 09:25, Guillaume Nodet >>>>>> wrote: >>>>>> >>>>>> I've updated the manual to use the same template / css than the web >>>>>> site, >>>>>> >>>>>>> so that it looks way better now. >>>>>>> That makes we think we deseperatly need a logo for Karaf ... >>>>>>> >>>>>>> >>>>>>> On Mon, Oct 18, 2010 at 10:25, Guillaume Nodet >>>>>>> wrote: >>>>>>> >>>>>>> I've committed the project i've been working on github so far in the >>>>>>> >>>>>>>> main >>>>>>>> svn are, in trunk/documentation. >>>>>>>> In order to keep that up-to-date with each version, I'd ask anyone >> to >>>>>>>> keep >>>>>>>> it in sync when you modify / add a new feature in Karaf. >>>>>>>> Note that this manual includes an auto-generated section containing >>>>>>>> all >>>>>>>> the commands, so we could try to improve the help for those. >>>>>>>> It can be done by adding the following attribute on the annotation >> as >>>>>>>> it's >>>>>>>> done in the grep command >>>>>>>> >>>>>>>> @Command(...., detailedDescription="classpath:grep.txt") >>>>>>>> >>>>>>>> And then a file in >>>>>>>> org/apache/karaf/shell/commands/grep.txt >>>>>>>> The file is loaded from the command class (hence it's automatically >>>>>>>> prefixed by the package name, unless an absolute uri is used). >>>>>>>> >>>>>>>> I guess we could try to auto-discover this file too btw. >>>>>>>> >>>>>>>> The manual is not fully complete and there are still sections to >>>>>>>> review >>>>>>>> / >>>>>>>> fill, so feel free to have a look at those. >>>>>>>> >>>>>>>> Also, I'll try to publish a snapshot and have it linked from the >> main >>>>>>>> web >>>>>>>> site and use it instead of the wiki based manuals, so that we'll >> have >>>>>>>> easier >>>>>>>> versioning. >>>>>>>> But we need to come up with a better design for the web pages and >> add >>>>>>>> a >>>>>>>> pdf output. Help welcome! >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Cheers, >>>>>>>> Guillaume Nodet >>>>>>>> ------------------------ >>>>>>>> Blog: http://gnodet.blogspot.com/ >>>>>>>> ------------------------ >>>>>>>> Open Source SOA >>>>>>>> http://fusesource.com >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>> Cheers, >>>>>>> Guillaume Nodet >>>>>>> ------------------------ >>>>>>> Blog: http://gnodet.blogspot.com/ >>>>>>> ------------------------ >>>>>>> Open Source SOA >>>>>>> http://fusesource.com >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>> -- >>>> Cheers, >>>> Guillaume Nodet >>>> ------------------------ >>>> Blog: http://gnodet.blogspot.com/ >>>> ------------------------ >>>> Open Source SOA >>>> http://fusesource.com >>>> >>> >>> -- >>> Freeman Fang >>> >>> ------------------------ >>> blog: http://freemanfang.blogspot.com >>> twitter: http://twitter.com/freemanfang >>> >>> Open Source SOA: http://fusesource.com >>> Apache Servicemix:http://servicemix.apache.org >>> Apache Cxf: http://cxf.apache.org >>> Apache Karaf: http://karaf.apache.org >>> Apache Felix: http://felix.apache.org >>> >>> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> > >